The problem

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:

  • In memory counters.
  • Files.
  • Access of resources in data bases.

This problem can be reduced to the analysis in how the critical section is accessed and synchronized.

We will start with definitions.

Critical section

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.

Parallel vs…

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.

Final app link …

Carlos Ruiz Agular

Coffee lover (serious espresso drinker)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store