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