Add README for threads-bugs and link in main README
This commit is contained in:
@@ -36,7 +36,7 @@ Concurrency Chapters:
|
|||||||
* Locked Data Structures
|
* Locked Data Structures
|
||||||
* [Condition Variables](threads-cv)
|
* [Condition Variables](threads-cv)
|
||||||
* [Semaphores](threads-sema)
|
* [Semaphores](threads-sema)
|
||||||
* Concurrency Bugs
|
* [Concurrency Bugs](threads-bugs)
|
||||||
* Event-based Concurrency
|
* Event-based Concurrency
|
||||||
|
|
||||||
## Persistence
|
## Persistence
|
||||||
|
|||||||
12
threads-bugs/README.md
Normal file
12
threads-bugs/README.md
Normal 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user