m2etis
0.4
|
Implements a queue that supports multiple producers but only one consumer. More...
#include <ExceptionQueue.h>
Static Public Member Functions | |
static void | enqueue (const loginfo &data) |
Enqueues data. More... | |
static bool | isEmpty () |
Returns true if the queue is empty. More... | |
static loginfo | dequeue () |
Removes the first element in the queue. More... | |
Implements a queue that supports multiple producers but only one consumer.
Implements a queue that supports multiple producers but only one consumer by using std::mutex.
Definition at line 39 of file ExceptionQueue.h.
|
static |
Removes the first element in the queue.
|
static |
Enqueues data.
[in] | data | Data to be queued |
|
static |
Returns true if the queue is empty.