Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Multi-producer single-consumer queue internal implementation class. More...
#include <mpsc_queue_impl.h>
Public Member Functions | |
void | push_back (MpscQueueData *node) |
Add object to the end of the queue. More... | |
MpscQueueData * | pop_front (bool can_spin) |
Remove object from the beginning of the queue. More... | |
Multi-producer single-consumer queue internal implementation class.
Provides only push/pop functionality. Ownership is left up to the main MpscQueue class.
Definition at line 24 of file mpsc_queue_impl.h.
MpscQueueData* roc::core::MpscQueueImpl::pop_front | ( | bool | can_spin | ) |
Remove object from the beginning of the queue.
void roc::core::MpscQueueImpl::push_back | ( | MpscQueueData * | node | ) |
Add object to the end of the queue.