wut  1.0.0-beta9
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;
19 
21 {
24 };
25 WUT_CHECK_OFFSET(OSThreadLink, 0x00, prev);
26 WUT_CHECK_OFFSET(OSThreadLink, 0x04, next);
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
struct OSThread OSThread
Definition: mutex.h:19
OSThreadLink::prev
OSThread * prev
Definition: threadqueue.h:22
OSThreadSimpleQueue
Definition: threadqueue.h:41
wut.h
OSThreadQueue::tail
OSThread * tail
Definition: threadqueue.h:32
OSThreadLink::next
OSThread * next
Definition: threadqueue.h:23
OSThreadQueue::head
OSThread * head
Definition: threadqueue.h:31
OSThreadQueue::parent
void * parent
Definition: threadqueue.h:33
OSInitThreadQueueEx
void OSInitThreadQueueEx(OSThreadQueue *queue, void *parent)
OSThreadQueue
Definition: threadqueue.h:29
OSInitThreadQueue
void OSInitThreadQueue(OSThreadQueue *queue)