41 #define MQ_BOX_NULL 0xffffffff 43 #define MQ_ERROR_SUCCESSFUL 0 44 #define MQ_ERROR_TOOMANY -5 46 #define MQ_MSG_BLOCK 0 47 #define MQ_MSG_NOBLOCK 1 s32 MQ_Init(mqbox_t *mqbox, u32 count)
Initializes a message queue.
Definition: message.c:86
int32_t s32
32bit signed integer
Definition: gctypes.h:24
void MQ_Close(mqbox_t mqbox)
Closes the message queue and releases all memory.
Definition: message.c:108
BOOL MQ_Jam(mqbox_t mqbox, mqmsg_t msg, u32 flags)
Sends a message to the given message queue and jams it in front of the queue.
Definition: message.c:153
BOOL MQ_Send(mqbox_t mqbox, mqmsg_t msg, u32 flags)
Sends a message to the given message queue.
Definition: message.c:121
BOOL MQ_Receive(mqbox_t mqbox, mqmsg_t *msg, u32 flags)
Sends a message to the given message queue.
Definition: message.c:137
GLuint GLuint GLsizei count
Definition: glext.h:6292
static const unsigned char msg[]
Definition: ccm.c:375
void * mqmsg_t
typedef for the message pointer
Definition: message.h:64
unsigned int BOOL
Definition: gctypes.h:51
u32 mqbox_t
typedef for the message queue handle
Definition: message.h:58
GLbitfield flags
Definition: glext.h:7828
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19