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