wut  v1.5.0
Wii U Toolchain
threadqueue.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef struct OSThread OSThread;
15 
16 typedef struct OSThreadLink OSThreadLink;
17 typedef struct OSThreadQueue OSThreadQueue;
19 
21 {
24 };
25 WUT_CHECK_OFFSET(OSThreadLink, 0x00, next);
26 WUT_CHECK_OFFSET(OSThreadLink, 0x04, prev);
27 WUT_CHECK_SIZE(OSThreadLink, 0x8);
28 
30 {
33  void *parent;
34  WUT_UNKNOWN_BYTES(4);
35 };
36 WUT_CHECK_OFFSET(OSThreadQueue, 0x00, head);
37 WUT_CHECK_OFFSET(OSThreadQueue, 0x04, tail);
38 WUT_CHECK_OFFSET(OSThreadQueue, 0x08, parent);
39 WUT_CHECK_SIZE(OSThreadQueue, 0x10);
40 
42 {
45 };
46 WUT_CHECK_OFFSET(OSThreadSimpleQueue, 0x00, head);
47 WUT_CHECK_OFFSET(OSThreadSimpleQueue, 0x04, tail);
48 WUT_CHECK_SIZE(OSThreadSimpleQueue, 0x08);
49 
50 void
52 
53 void
55  void *parent);
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
OSThread * next
Definition: threadqueue.h:22
OSThread * head
Definition: threadqueue.h:31
void * parent
Definition: threadqueue.h:33
OSThread * prev
Definition: threadqueue.h:23
OSThread * tail
Definition: threadqueue.h:32
void OSInitThreadQueueEx(OSThreadQueue *queue, void *parent)
void OSInitThreadQueue(OSThreadQueue *queue)