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.

Synopsis

Declared in <bdlcc_singleproducerqueueimpl.h>

SingleProducerQueueImpl_PopCompleteGuard(
    TYPE* queue,
    NODE* node,
    bool isEmpty);

Parameters

Name

Description

queue

queue that owns node

node

node passed to popComplete on destruction

isEmpty

whether to signal the empty condition on destruction

Created with MrDocs