blob: b9c570dba09c2a0e93b3796aee22d5f25868110c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef POKEDIAMOND_ARM9_OS_MESSAGE_H
#define POKEDIAMOND_ARM9_OS_MESSAGE_H
#include "OS_thread.h"
#include "OS_context.h"
#include "nitro/types.h"
#include "nitro/OS_message_shared.h"
void OS_InitMessageQueue(OSMessageQueue *mq, OSMessage *msgArray, s32 msgCount);
BOOL OS_SendMessage(OSMessageQueue *mq, OSMessage msg, s32 flags);
BOOL OS_ReceiveMessage(OSMessageQueue *mq, OSMessage *msg, s32 flags);
BOOL OS_JamMessage(OSMessageQueue *mq, OSMessage msg, s32 flags);
BOOL OS_ReadMessage(OSMessageQueue *mq, OSMessage *msg, s32 flags);
#endif //POKEDIAMOND_ARM9_OS_MESSAGE_H
|