Expand description
A synchronization primitive for controlling access to a pool of resources.
Structs§
- Fair
Semaphore  - A fair 
Semaphoreimplementation. - Greedy
Semaphore  - A greedy 
Semaphoreimplementation. - Semaphore
Releaser  - A representation of a number of acquired permits.
 - Wait
Queue Full  - An error indicating the 
FairSemaphore’s wait queue is full. 
Traits§
- Semaphore
 - An asynchronous semaphore.