BloombergLP::bslmt::FastPostSemaphoreImpl::disable

Disable waiting on this semaphore.

Synopsis

Declared in <bslmt_fastpostsemaphoreimpl.h>

void
disable();

Description

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