[#BloombergLP-bslmt-FastPostSemaphoreImpl-disable]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/FastPostSemaphoreImpl.adoc[FastPostSemaphoreImpl]::disable
:relfileprefix: ../../../
:mrdocs:

Disable waiting on this semaphore&period;

== Synopsis

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

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

== Description

All subsequent invocations of `wait`, `tryWait`, and `timedWait` will fail immediately&period; All blocked invocations of `wait` and `timedWait` will fail immediately&period; If the semaphore is initially disabled, this call has no effect&period;


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