Create a semaphore initially having the specified count.

Synopsis

Declared in <bslmt_semaphore.h>

explicit
Semaphore(int count);

Description

This method does not return normally unless there are sufficient system resources to construct the object.

Parameters

Name

Description

count

initial count of the semaphore

Created with MrDocs