Quick Links: |
#include <bdlcc_singleproducerqueueimpl.h>
Public Member Functions | |
SingleProducerQueueImpl_PopCompleteGuard (TYPE *queue, NODE *node, bool isEmpty) | |
~SingleProducerQueueImpl_PopCompleteGuard () |
This class implements a guard automatically invokes popComplete
on a NODE
upon destruction.
See Component bdlcc_singleproducerqueueimpl
bdlcc::SingleProducerQueueImpl_PopCompleteGuard< TYPE, NODE >::SingleProducerQueueImpl_PopCompleteGuard | ( | TYPE * | queue, | |
NODE * | node, | |||
bool | isEmpty | |||
) |
Create a popComplete
guard managing the specified queue
and node
that will cause the empty condition to be signalled if the specified isEmpty
is true
.
bdlcc::SingleProducerQueueImpl_PopCompleteGuard< TYPE, NODE >::~SingleProducerQueueImpl_PopCompleteGuard | ( | ) |
Destroy this object and invoke the TYPE::popComplete
method with the managed node
.