BloombergLP::bdlcc::SingleProducerSingleConsumerBoundedQueue::disablePushBack

Disable enqueueing into this queue.

Synopsis

Declared in <bdlcc_singleproducersingleconsumerboundedqueue.h>

void
disablePushBack();

Description

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.