WUT
0.1
Wii U Toolchain
Main Page
Modules
Data Structures
Files
File List
Globals
include
coreinit
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
;
18
typedef
struct
OSThreadSimpleQueue
OSThreadSimpleQueue
;
19
20
struct
OSThreadLink
21
{
22
OSThread
*
prev
;
23
OSThread
*
next
;
24
};
25
CHECK_OFFSET(
OSThreadLink
, 0x00, prev);
26
CHECK_OFFSET(
OSThreadLink
, 0x04, next);
27
CHECK_SIZE(
OSThreadLink
, 0x8);
28
29
struct
OSThreadQueue
30
{
31
OSThread
*
head
;
32
OSThread
*
tail
;
33
void
*
parent
;
34
UNKNOWN(4);
35
};
36
CHECK_OFFSET(
OSThreadQueue
, 0x00, head);
37
CHECK_OFFSET(
OSThreadQueue
, 0x04, tail);
38
CHECK_OFFSET(
OSThreadQueue
, 0x08, parent);
39
CHECK_SIZE(
OSThreadQueue
, 0x10);
40
41
struct
OSThreadSimpleQueue
42
{
43
OSThread
*
head
;
44
OSThread
*
tail
;
45
};
46
CHECK_OFFSET(
OSThreadSimpleQueue
, 0x00, head);
47
CHECK_OFFSET(
OSThreadSimpleQueue
, 0x04, tail);
48
CHECK_SIZE(
OSThreadSimpleQueue
, 0x08);
49
50
void
51
OSInitThreadQueue
(
OSThreadQueue
*queue);
52
53
void
54
OSInitThreadQueueEx
(
OSThreadQueue
*queue,
55
void
*parent);
56
57
#ifdef __cplusplus
58
}
59
#endif
60
OSThreadSimpleQueue::tail
OSThread * tail
Definition:
threadqueue.h:44
OSInitThreadQueue
void OSInitThreadQueue(OSThreadQueue *queue)
OSThreadQueue::tail
OSThread * tail
Definition:
threadqueue.h:32
OSThreadQueue::head
OSThread * head
Definition:
threadqueue.h:31
OSThread
Definition:
thread.h:176
OSThreadLink::prev
OSThread * prev
Definition:
threadqueue.h:22
wut.h
OSThreadQueue::parent
void * parent
Definition:
threadqueue.h:33
OSThreadLink
Definition:
threadqueue.h:20
OSThreadSimpleQueue::head
OSThread * head
Definition:
threadqueue.h:43
OSThreadLink::next
OSThread * next
Definition:
threadqueue.h:23
OSInitThreadQueueEx
void OSInitThreadQueueEx(OSThreadQueue *queue, void *parent)
OSThreadQueue
Definition:
threadqueue.h:29
OSThreadSimpleQueue
Definition:
threadqueue.h:41
Generated by
1.8.10