1 #ifndef __LWP_MESSAGES_H__ 2 #define __LWP_MESSAGES_H__ 12 #define LWP_MQ_PRIORITY 1 14 #define LWP_MQ_STATUS_SUCCESSFUL 0 15 #define LWP_MQ_STATUS_INVALID_SIZE 1 16 #define LWP_MQ_STATUS_TOO_MANY 2 17 #define LWP_MQ_STATUS_UNSATISFIED 3 18 #define LWP_MQ_STATUS_UNSATISFIED_NOWAIT 4 19 #define LWP_MQ_STATUS_DELETED 5 20 #define LWP_MQ_STATUS_TIMEOUT 6 21 #define LWP_MQ_STATUS_UNSATISFIED_WAIT 7 23 #define LWP_MQ_SEND_REQUEST INT_MAX 24 #define LWP_MQ_SEND_URGENT INT_MIN 71 #ifdef LIBOGC_INTERNAL Definition: lwp_messages.h:44
GLbitfield GLuint64 timeout
Definition: glext.h:7831
Definition: lwp_queue.h:21
Definition: lwp_messages.h:37
Definition: lwp_tqdata.h:23
void __lwpmq_msg_insert(mq_cntrl *mqueue, mq_buffercntrl *msg, u32 type)
Definition: lwp_messages.c:6
GLsizeiptr size
Definition: glext.h:6559
u32 max_pendingmsgs
Definition: lwp_messages.h:51
Definition: lwp_queue.h:16
lwp_queue inactive_msgs
Definition: lwp_messages.h:58
lwp_queue pending_msgs
Definition: lwp_messages.h:54
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
GLuint GLuint GLsizei count
Definition: glext.h:6292
Definition: lwp_messages.h:32
GLenum type
Definition: glext.h:6233
u32 max_msgsize
Definition: lwp_messages.h:53
static const unsigned char msg[]
Definition: ccm.c:375
u32 num_pendingmsgs
Definition: lwp_messages.h:52
mq_notifyhandler notify_handler
Definition: lwp_messages.h:56
u32 __lwpmq_flush_support(mq_cntrl *mqueue)
Definition: lwp_messages.c:227
mq_buffer contents
Definition: lwp_messages.h:40
lwp_node node
Definition: lwp_messages.h:38
u32 __lwpmq_submit(mq_cntrl *mqueue, u32 id, void *buffer, u32 size, u32 type, u32 wait, u64 timeout)
Definition: lwp_messages.c:129
u32 __lwpmq_broadcast(mq_cntrl *mqueue, void *buffer, u32 size, u32 id, u32 *count)
Definition: lwp_messages.c:182
uint64_t u64
64bit unsigned integer
Definition: gctypes.h:20
mq_buffer * msq_buffers
Definition: lwp_messages.h:55
Definition: lwp_messages.h:48
u32 size
Definition: lwp_messages.h:33
lwp_thrqueue wait_queue
Definition: lwp_messages.h:49
int wait
Definition: wiiuse_internal.h:334
u32 __lwpmq_seize(mq_cntrl *mqueue, u32 id, void *buffer, u32 *size, u32 wait, u64 timeout)
Definition: lwp_messages.c:76
struct _mqbuffer mq_buffer
Definition: video4linux2.c:51
u32 prio
Definition: lwp_messages.h:39
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
u32 __lwpmq_flush(mq_cntrl *mqueue)
Definition: lwp_messages.c:219
u32 mode
Definition: lwp_messages.h:45
u32 __lwpmq_initialize(mq_cntrl *mqueue, mq_attr *attrs, u32 max_pendingmsgs, u32 max_msgsize)
Definition: lwp_messages.c:47
void __lwpmq_close(mq_cntrl *mqueue, u32 status)
Definition: lwp_messages.c:212
void(* mq_notifyhandler)(void *)
Definition: lwp_messages.h:30
void __lwpmq_flush_waitthreads(mq_cntrl *mqueue)
Definition: lwp_messages.c:255
struct _mqbuffercntrl mq_buffercntrl
mq_attr attr
Definition: lwp_messages.h:50
void * notify_arg
Definition: lwp_messages.h:57