RetroArch
lwp_tqdata.h
Go to the documentation of this file.
1 #ifndef __LWP_TQDATA_H__
2 #define __LWP_TQDATA_H__
3 
4 #define LWP_THREADQ_NUM_PRIOHEADERS 4
5 #define LWP_THREADQ_PRIOPERHEADER 64
6 #define LWP_THREADQ_REVERSESEARCHMASK 0x20
7 
8 #define LWP_THREADQ_SYNCHRONIZED 0
9 #define LWP_THREADQ_NOTHINGHAPPEND 1
10 #define LWP_THREADQ_TIMEOUT 2
11 #define LWP_THREADQ_SATISFIED 3
12 
13 #define LWP_THREADQ_MODEFIFO 0
14 #define LWP_THREADQ_MODEPRIORITY 1
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 #include "lwp_queue.h"
21 #include "lwp_priority.h"
22 
23 typedef struct _lwpthrqueue {
24  union {
27  } queues;
32 } lwp_thrqueue;
33 
34 #ifdef __cplusplus
35  }
36 #endif
37 
38 #endif
Definition: lwp_queue.h:21
lwp_queue fifo
Definition: lwp_tqdata.h:25
Definition: lwp_tqdata.h:23
#define LWP_THREADQ_NUM_PRIOHEADERS
Definition: lwp_tqdata.h:4
union _lwpthrqueue::@862 queues
u32 timeout_state
Definition: lwp_tqdata.h:31
struct _lwpthrqueue lwp_thrqueue
u32 sync_state
Definition: lwp_tqdata.h:28
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
lwp_queue priority[LWP_THREADQ_NUM_PRIOHEADERS]
Definition: lwp_tqdata.h:26
u32 state
Definition: lwp_tqdata.h:30
u32 mode
Definition: lwp_tqdata.h:29