Create a semaphore initialized to the specified count. This method does not return normally unless there are sufficient system resources to construct the object.
count
Declared in <bslmt_semaphoreimpl_pthread.h>
<bslmt_semaphoreimpl_pthread.h>
explicit SemaphoreImpl(int count);