Expand description
A synchronization primitive for controlling access to a pool of resources.
Structs§
- Fair
Semaphore - A fair
Semaphore
implementation. - Greedy
Semaphore - A greedy
Semaphore
implementation. - 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.