[#BloombergLP-bslmt-Semaphore-getValue]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Semaphore.adoc[Semaphore]::getValue
:relfileprefix: ../../../
:mrdocs:

Return the value of the current count of this semaphore&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;semaphore&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
getValue() const;
----

== Return Value

current count of this semaphore


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