RetroArch
messagequeue.h
Go to the documentation of this file.
1 #pragma once
2 #include <wiiu/types.h>
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 typedef enum OSMessageFlags
9 {
13 
14 typedef struct OSMessage
15 {
16  void *message;
18 } OSMessage;
19 
20 #define OS_MESSAGE_QUEUE_TAG 0x6D536751u
21 typedef struct OSMessageQueue
22 {
24  const char *name;
33 
34 void OSInitMessageQueue(OSMessageQueue *queue, OSMessage *messages, int32_t size);
35 void OSInitMessageQueueEx(OSMessageQueue *queue, OSMessage *messages, int32_t size, const char *name);
40 
41 #ifdef __cplusplus
42 }
43 #endif
Definition: messagequeue.h:14
GLuint const GLchar * name
Definition: glext.h:6671
void OSInitMessageQueueEx(OSMessageQueue *queue, OSMessage *messages, int32_t size, const char *name)
void * message
Definition: messagequeue.h:16
uint32_t tag
Definition: messagequeue.h:23
const char * name
Definition: messagequeue.h:24
uint32_t first
Definition: messagequeue.h:30
Definition: messagequeue.h:10
BOOL OSPeekMessage(OSMessageQueue *queue, OSMessage *message)
GLsizeiptr size
Definition: glext.h:6559
uint32_t used
Definition: messagequeue.h:31
Definition: messagequeue.h:21
BOOL OSReceiveMessage(OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
BOOL OSSendMessage(OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags)
Definition: thread.h:121
OSThreadQueue recvQueue
Definition: messagequeue.h:27
OSMessageFlags
Definition: messagequeue.h:8
uint32_t args[3]
Definition: messagequeue.h:17
GLenum GLuint GLenum GLsizei const GLchar * message
Definition: glext.h:6233
uint32_t size
Definition: messagequeue.h:29
struct OSMessage OSMessage
struct OSMessageQueue OSMessageQueue
signed int int32_t
Definition: stdint.h:123
uint32_t __unknown
Definition: messagequeue.h:25
unsigned int BOOL
Definition: gctypes.h:51
OSMessage * messages
Definition: messagequeue.h:28
Definition: messagequeue.h:11
GLbitfield flags
Definition: glext.h:7828
OSMessageQueue * OSGetSystemMessageQueue()
OSThreadQueue sendQueue
Definition: messagequeue.h:26
unsigned int uint32_t
Definition: stdint.h:126
void OSInitMessageQueue(OSMessageQueue *queue, OSMessage *messages, int32_t size)