In concurrent applications , one of the problems to resolve is the synchronized access of a critical section typically accessing a shared resource.
Examples of this could be:
This problem can be reduced to the analysis in how the critical section is accessed and synchronized.
We will start with definitions.
Critical section is any piece of code that has the possibility of being executed concurrently by more than one thread of the application and exposes any shared data or resources used by the application for access.
At the end of February 2020, I set myself an objective: I had to build a “decent” set of components that can be used as a “getting started template” for future projects — named the demo cars app.
Here I am 6 months later: zero new projects, a pandemic, but … Why go back and document now? “Life Is a Journey, Not a Destination” — A famous quote will say, and after those 6 months I decided to write down my learnings, so they can be helpful for a future me and hopefully helpful to others.
Coffee lover (serious espresso drinker)