Synopsis
typedef struct {
  void ** q;
  unsigned s;
  unsigned front;
  unsigned n;
  CTL_EVENT_SET_t *e;
  CTL_EVENT_SET_t notempty;
  CTL_EVENT_SET_t notfull;
} CTL_MESSAGE_QUEUE_t;
Description

CTL_MESSAGE_QUEUE_t defines the message queue structure. The message queue structure contains:

Member Description
q pointer to the array of message queue objects
s size of the array of message queue objects
front the next element to leave the message queue
n the number of elements in the message queue
e the event set to use for the not empty and not full events
notempty the event number for a not empty event
notfull the event number for a not full event