SELKIELogger
1.0.0
|
Represent a simple FIFO message queue. More...
#include <queue.h>
Public Attributes | |
queueitem * | head |
Points to first message, or NULL if empty. | |
queueitem * | tail |
brief Tail entry hint | |
pthread_mutex_t | lock |
Queue lock. | |
bool | valid |
Queue status. | |
Represent a simple FIFO message queue.
Represents a queue of items starting at msgqueue.head, with the last item at or near msgqueue.tail.
The queue is protected by the mutex at msgqueue.lock, and will only have items added and removed while msgqueue.valid remains true.