| Thread Previous • Date Previous • Date Next • Thread Next |
Blueprint changed by Rick Stovall:
Whiteboard set to:
The new circular_queue template class will in the nrtb_common lib and will provide the following interface:
constructor and destructor
push // put in the queue
pull // get from the queue
park // blocks the calling thread until there is data to be processed, returns a queue item.
clear // clears the queue
resize // sets the queue size
size // returns the number of elements in the queue.
--
Thread-safe circular buffer/queue
https://blueprints.launchpad.net/nrtb/+spec/nrtb-circular-queue
| Thread Previous • Date Previous • Date Next • Thread Next |