SELKIELogger  1.0.0

Represent a simple FIFO message queue. More...

#include <queue.h>

Collaboration diagram for msgqueue:

Public Attributes

queueitemhead
 Points to first message, or NULL if empty.
 
queueitemtail
 brief Tail entry hint
 
pthread_mutex_t lock
 Queue lock.
 
bool valid
 Queue status.
 

Detailed Description

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.

Definition at line 51 of file queue.h.


The documentation for this struct was generated from the following file: