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

Name

Description

SingleConsumerQueueImpl_AllocateLockGuard [constructor]

Create a releaseAllocateLock guard managing the specified queue.

~SingleConsumerQueueImpl_AllocateLockGuard [destructor]

Destroy this object and invoke the managed queue's

Created with MrDocs