03.经典并发难题
经典并发难题
Num | Name | |
1 | ABA problem: loss updates | |
2 | Readers-writers problem | Read/write access the same shared resource at one time |
3 | Producer-consumer problem | a.k.a the bounded-buffer problem |
4 | Dining philosophers problem | Leetcode: The Dining Philosophers |
5 | Cigarette smokers problem | Assume a cigarette requires 3 ingredients: tobacco, paper, and matches |
6 | Sleeping barber problem | Keep a barber working when there are customers, resting when none |
7 | Guarded suspension |