|
ADS
Algorithms and Data Structures
|
An event count, beyond the book. More...
Files | |
| file | ADS/concurrent/EventCount.h |
| An event count, beyond the book: the way for a thread to sleep until a condition on a lock-free structure holds, instead of looking at it again and again or between sleeps of a fixed length, with no lock and nearly no cost for the threads that make the condition true while nobody waits. | |
Classes | |
| class | ADS::EventCount |
| the sleep of threads until a condition holds, woken by notify() More... | |
An event count, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of concurrency.