[#BloombergLP-bslmt-SemaphoreImpl-06-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/SemaphoreImpl-06.adoc[SemaphoreImpl&lt;Platform::PosixSemaphore&gt;]::SemaphoreImpl
:relfileprefix: ../../../
:mrdocs:

Create a semaphore initialized to the specified `count`&period; This method does not return normally unless there are sufficient system resources to construct the object&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;semaphoreimpl&lowbar;pthread&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
SemaphoreImpl(int count);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
