iso9660 - type fixes
[libogc.git] / gc / ogc / lwp_tqdata.h
blob0ebaffd2d33b0af320f12d8608f5ceecbfa89ffd
1 #ifndef __LWP_TQDATA_H__
2 #define __LWP_TQDATA_H__
4 #define LWP_THREADQ_NUM_PRIOHEADERS 4
5 #define LWP_THREADQ_PRIOPERHEADER 64
6 #define LWP_THREADQ_REVERSESEARCHMASK 0x20
8 #define LWP_THREADQ_SYNCHRONIZED 0
9 #define LWP_THREADQ_NOTHINGHAPPEND 1
10 #define LWP_THREADQ_TIMEOUT 2
11 #define LWP_THREADQ_SATISFIED 3
13 #define LWP_THREADQ_MODEFIFO 0
14 #define LWP_THREADQ_MODEPRIORITY 1
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 #include "lwp_queue.h"
21 #include "lwp_priority.h"
23 typedef struct _lwpthrqueue {
24 union {
25 lwp_queue fifo;
26 lwp_queue priority[LWP_THREADQ_NUM_PRIOHEADERS];
27 } queues;
28 u32 sync_state;
29 u32 mode;
30 u32 state;
31 u32 timeout_state;
32 } lwp_thrqueue;
34 #ifdef __cplusplus
36 #endif
38 #endif