OSInitMessageQueue

C Specification

#include <revolution/os.h>
void OSInitMessageQueue(
    OSMessageQueue* mq, 
    OSMessage*      msgArray, 
    s32             msgCount);

Arguments

mq Pointer to message queue.
msgArray Pointer to array that will hold the messages.
msgCount The number of messages that the array can hold.

Return Values

None.

Description

Initializes the message queue structure mq. The msgArray argument is a pointer to the array that holds queue messages, and msgCount is the number of messages that the queue can hold (i.e., the array size).

See Also

Thread Functions, Thread Synchronization Functions, OSJamMessage, OSReceiveMessage, OSSendMessage

Revision History

2006/03/01 Initial version.


CONFIDENTIAL