Switch branches/tags
Nothing to show
Find file History
Latest commit fad4ee2 Nov 1, 2017
Failed to load latest commit information.
.settings initial import Aug 8, 2014
src added read-modify-write tests Aug 10, 2014
.classpath initial import Aug 8, 2014
.gitignore initial import Aug 8, 2014
.project initial import Aug 8, 2014
README.md Updated blog links Nov 1, 2017
pom.xml Simplified console output Aug 9, 2014



This project consists in several examples of how race conditions affect the execution of not properly synchronized programs. Main classes are:

  • Interleaving: Shows how several steps are overlapped by different thread executions.
  • Unsafe*: Non synchronized programs that show the effects of a race condition.
  • Safe*: Properly synchronized programs where its execution is not affected by race conditions.

Please take a look at the article about Atomicity and race conditions