Add README for threads-bugs and link in main README

This commit is contained in:
Remzi Arpaci-Dusseau
2019-05-08 13:27:48 -05:00
parent 8bcb711e08
commit 1dee8162d4
2 changed files with 13 additions and 1 deletions

View File

@@ -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

12
threads-bugs/README.md Normal file
View File

@@ -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