RetroArch
lwp_threadq.h
Go to the documentation of this file.
1 #ifndef __LWP_THREADQ_H__
2 #define __LWP_THREADQ_H__
3 
4 #include <gctypes.h>
5 #include <lwp_tqdata.h>
6 #include <lwp_threads.h>
7 #include <lwp_watchdog.h>
8 
9 #define LWP_THREADQ_NOTIMEOUT LWP_WD_NOTIMEOUT
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
21 void __lwp_threadqueue_init(lwp_thrqueue *queue,u32 mode,u32 state,u32 timeout_state);
25 void __lwp_threadqueue_flush(lwp_thrqueue *queue,u32 status);
26 void __lwp_threadqueue_extract(lwp_thrqueue *queue,lwp_cntrl *thethread);
30 
31 #ifdef LIBOGC_INTERNAL
32 #include <libogc/lwp_threadq.inl>
33 #endif
34 
35 #ifdef __cplusplus
36  }
37 #endif
38 
39 #endif
void __lwp_threadqueue_extractfifo(lwp_thrqueue *queue, lwp_cntrl *thethread)
Definition: lwp_threadq.c:419
lwp_cntrl * __lwp_threadqueue_firstfifo(lwp_thrqueue *queue)
Definition: lwp_threadq.c:25
GLbitfield GLuint64 timeout
Definition: glext.h:7831
GLenum mode
Definition: glext.h:6857
Data type definitions.
void __lwp_threadqueue_flush(lwp_thrqueue *queue, u32 status)
Definition: lwp_threadq.c:398
Definition: lwp_tqdata.h:23
Definition: lwp_threads.h:36
lwp_cntrl * __lwp_threadqueue_dequeuepriority(lwp_thrqueue *queue)
Definition: lwp_threadq.c:240
static uint64_t state[MAX_PADS]
Definition: xenon360_input.c:33
void __lwp_threadqueue_init(lwp_thrqueue *queue, u32 mode, u32 state, u32 timeout_state)
Definition: lwp_threadq.c:308
void __lwp_threadqueue_enqueue(lwp_thrqueue *queue, u64 timeout)
Definition: lwp_threadq.c:349
void __lwp_threadqueue_extractpriority(lwp_thrqueue *queue, lwp_cntrl *thethread)
Definition: lwp_threadq.c:440
u32 __lwp_threadqueue_extractproxy(lwp_cntrl *thethread)
Definition: lwp_threadq.c:487
uint64_t u64
64bit unsigned integer
Definition: gctypes.h:20
lwp_cntrl * __lwp_threadqueue_dequeue(lwp_thrqueue *queue)
Definition: lwp_threadq.c:374
void __lwp_threadqueue_extract(lwp_thrqueue *queue, lwp_cntrl *thethread)
Definition: lwp_threadq.c:406
lwp_cntrl * __lwp_threadqueue_dequeuefifo(lwp_thrqueue *queue)
Definition: lwp_threadq.c:79
lwp_cntrl * __lwp_threadqueue_first(lwp_thrqueue *queue)
Definition: lwp_threadq.c:330
lwp_cntrl * __lwp_threadqueue_firstpriority(lwp_thrqueue *queue)
Definition: lwp_threadq.c:33
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
void __lwp_threadqueue_enqueuefifo(lwp_thrqueue *queue, lwp_cntrl *thethread, u64 timeout)
Definition: lwp_threadq.c:44
void __lwp_threadqueue_enqueuepriority(lwp_thrqueue *queue, lwp_cntrl *thethread, u64 timeout)
Definition: lwp_threadq.c:113