Thread-safe FIFO queue.
More...
#include <ThreadSafeQueue.h>
|
void | Push (T &input) |
|
bool | Pop (T &output) |
| Pops an element from the queue. More...
|
|
template<class T, class TMutex>
class molecular::util::ThreadSafeQueue< T, TMutex >
Thread-safe FIFO queue.
template<class T, class TMutex>
Pops an element from the queue.
- Returns
- true if there was an element in the queue. False if the queue is empty, in which case output stays unchanged.
template<class T, class TMutex>
The documentation for this class was generated from the following file: