BloombergLP::bdlcc::SingleProducerSingleConsumerBoundedQueue::disablePushBack

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

Synopsis

Declared in <bdlcc_singleproducersingleconsumerboundedqueue.h>

void
disablePushBack();