From 1dee8162d49cfeb40738686090edbe30364ad3a6 Mon Sep 17 00:00:00 2001 From: Remzi Arpaci-Dusseau Date: Wed, 8 May 2019 13:27:48 -0500 Subject: [PATCH] Add README for threads-bugs and link in main README --- README.md | 2 +- threads-bugs/README.md | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 threads-bugs/README.md diff --git a/README.md b/README.md index e2a9ac6..90a1f70 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Concurrency Chapters: * Locked Data Structures * [Condition Variables](threads-cv) * [Semaphores](threads-sema) -* Concurrency Bugs +* [Concurrency Bugs](threads-bugs) * Event-based Concurrency ## Persistence diff --git a/threads-bugs/README.md b/threads-bugs/README.md new file mode 100644 index 0000000..bf932b0 --- /dev/null +++ b/threads-bugs/README.md @@ -0,0 +1,12 @@ + +# Common Concurrency Problems + +Code examples from the chapter about concurrency problems. +Type `make` to build all examples. + +## Atomicity Failure + +- `atomicity.c`: Shows how uncareful check-then-use can crash code + + +