Constructors
Declared in <bslmt_semaphore.h>
Create a semaphore initially having a count of 0. This method does not return normally unless there are sufficient system resources to construct the object.
Semaphore();
» more...
Create a semaphore initially having the specified count.
explicit
Semaphore(int count);
» more...
| Name | Description |
|---|---|
| count | initial count of the semaphore |