synchronization/binary_semaphore library

Classes

BinarySemaphore
A BinarySemaphore is a synchronization primitive with an integer value restricted to 0 or 1, representing locked (0) or unlocked (1) states.