synchronization/counting_semaphore library

Classes

CountingSemaphore
A CountingSemaphore is a synchronization primitive that maintains a counter that represents the number of available permits.