#include <nitro/os.h>
void OS_InitMessageQueue(
OSMessageQueue* mq,
OSMessage* msgArray,
s32 msgCount);
mq | Pointer to the message queue |
msgArray | Pointer to the array maintaining the messages |
msgCount | Number of messages maintained in the array |
None.
This function initializes the mq
message queue structure. The msgArray
argument points to the array maintaining the queue messages, and msgCount
is the number of messages maintained in the queue (i.e., the array size).
OS_JamMessage, OS_SendMessage, OS_ReceiveMessage, OS_ReadMessage()
2004/03/12 Added OS_ReadMessage
to See Also.
2003/12/05 Initial version.
CONFIDENTIAL