BloombergLP::bdlcc::SingleConsumerQueueImpl_AllocateLockGuard

This class implements a guard that automatically invokes releaseAllocateLock on the managed queue upon destruction.

Synopsis

Declared in <bdlcc_singleconsumerqueueimpl.h>

template<class TYPE>
class SingleConsumerQueueImpl_AllocateLockGuard;

Member Functions

NameDescription
SingleConsumerQueueImpl_AllocateLockGuard [constructor]Create a releaseAllocateLock guard managing the specified queue.
~SingleConsumerQueueImpl_AllocateLockGuard [destructor]Destroy this object and invoke the managed queue's