[#BloombergLP-bslmt-Semaphore-2constructor-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Semaphore.adoc[Semaphore]::Semaphore :relfileprefix: ../../../ :mrdocs: Create a semaphore initially having the specified `count`. This method does not return normally unless there are sufficient system resources to construct the object. == Synopsis Declared in `<bslmt_semaphore.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit Semaphore(int count); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#