Common Concurrency Problems

Code examples from the chapter about concurrency problems.
Type make to build all examples.

Atomicity Failure

Ordering Violation

Deadlock