Constructors
Synopses
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();
Create a semaphore initially having the specified count.
explicit
Semaphore(int count);
Parameters
Name |
Description |
count |
initial count of the semaphore |
Created with MrDocs