Quick Links: |
#include <bdlcc_singleconsumerqueueimpl.h>
Public Member Functions | |
SingleConsumerQueueImpl_AllocateLockGuard (TYPE *queue) | |
~SingleConsumerQueueImpl_AllocateLockGuard () |
This class implements a guard that automatically invokes releaseAllocateLock
on the managed queue upon destruction.
See Component bdlcc_singleconsumerqueueimpl
bdlcc::SingleConsumerQueueImpl_AllocateLockGuard< TYPE >::SingleConsumerQueueImpl_AllocateLockGuard | ( | TYPE * | queue | ) | [explicit] |
Create a releaseAllocateLock
guard managing the specified queue
.
bdlcc::SingleConsumerQueueImpl_AllocateLockGuard< TYPE >::~SingleConsumerQueueImpl_AllocateLockGuard | ( | ) |
Destroy this object and invoke the managed queue's releaseAllocateLock
method.