BloombergLP::bdlcc::SingleProducerQueue::disablePushBack

Disable enqueueing into this queue. All subsequent invocations of pushBack or tryPushBack will fail immediately. All blocked invocations of pushBack will fail immediately. If the queue is already enqueue disabled, this method has no effect.

Synopsis

Declared in <bdlcc_singleproducerqueue.h>

void
disablePushBack();