Primitives¶
Covers Atomic, Channels, Condition Variables, Mutex, and Semaphore.
Topics¶
| Topic | What it covers |
|---|---|
| Atomic | An atomic operation appears indivisible and can establish visibility between threads. |
| Channels | A channel transfers values between concurrent tasks while coordinating senders and receivers. |
| Condition Variables | A condition variable lets threads sleep until shared state may satisfy a predicate. |
| Mutex | A mutex lets one thread at a time enter a critical section that protects an invariant. |
| Semaphore | A semaphore uses permits to bound how many operations may use a resource concurrently. |