semaphore library

Classes

GlobalSemaphore
Global semaphore is a named semaphore with max count of permits equals to 1.
LocalSemaphore
Local semaphore is a unnamed semaphore with a specified count of max permits.
Semaphore