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

Atomically increment the count of this semaphore by the specified `number`&period; The behavior is undefined unless `number &gt; 0`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
post(int number);
----


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