Synopsis
#include <ctl_api.h>
void ctl_message_queue_init(CTL_MESSAGE_QUEUE_t *m,
void **queue,
unsigned queue_size);
Description
The function ctl_message_queue_init is given a pointer to the message queue to initialise in m. The array that will be used to implement the message queue pointed to by queue and its size in queue_size are also supplied.
Portability
ctl_message_queue_init is provided in every implementation of the CrossWorks tasking library.