[#BloombergLP-bslmt-Semaphore-2constructor-05600] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Semaphore.adoc[Semaphore]::Semaphore :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bslmt_semaphore.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Semaphore(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#