Return a reference to the modifiable underlying bdlc::Queue object used by this queue. Any access to the returned queue MUST first lock the associated mutex object (see the mutex method) in a multi‐threaded environment. And when items are directly added to the queue returned by this method, the associated condition variable (see the condition method) should be signaled to notify any waiting threads of the availability of the new data.
Synopsis
Declared in <bdlcc_queue.h>
bdlc::Queue<TYPE>&
queue();
Description
The (error‐prone) usage of this method will be replaced by an appropriate smart‐pointer‐like proctor object in the future. Meanwhile, use this method with caution.
Created with MrDocs