Concurrent::Semaphore
Inherits Reference / Object
A semaphore allows execution of at most n tasks simultaneously.
Constructors
Instance methods
acquire
Acquire an item from the semaphore, calling the block, and then safely releasing the semaphore.
Inherits Reference / Object
A semaphore allows execution of at most n tasks simultaneously.
Acquire an item from the semaphore, calling the block, and then safely releasing the semaphore.