wut
v1.7.0
Wii U Toolchain
include
coreinit
fastcondition.h
Go to the documentation of this file.
1
#pragma once
2
#include <
wut.h
>
3
#include "
threadqueue.h
"
4
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
typedef
struct
OSFastCondition
OSFastCondition
;
19
typedef
struct
OSFastMutex
OSFastMutex
;
20
21
#define OS_FAST_CONDITION_TAG 0x664E6456u
22
23
struct
OSFastCondition
24
{
25
uint32_t
tag
;
26
const
char
*
name
;
27
WUT_UNKNOWN_BYTES(4);
28
OSThreadQueue
queue
;
29
};
30
WUT_CHECK_OFFSET(
OSFastCondition
, 0x00, tag);
31
WUT_CHECK_OFFSET(
OSFastCondition
, 0x04, name);
32
WUT_CHECK_OFFSET(
OSFastCondition
, 0x0c, queue);
33
WUT_CHECK_SIZE(
OSFastCondition
, 0x1c);
34
35
void
36
OSFastCond_Init
(
OSFastCondition
*condition,
37
const
char
*name);
38
39
void
40
OSFastCond_Wait
(
OSFastCondition
*condition,
41
OSFastMutex
*mutex);
42
43
void
44
OSFastCond_Signal
(
OSFastCondition
*condition);
45
46
#ifdef __cplusplus
47
}
48
#endif
49
OSFastCondition::tag
uint32_t tag
Definition:
fastcondition.h:25
OSFastCondition::queue
OSThreadQueue queue
Definition:
fastcondition.h:27
OSFastCondition::name
const char * name
Definition:
fastcondition.h:26
OSFastCond_Signal
void OSFastCond_Signal(OSFastCondition *condition)
OSFastCond_Wait
void OSFastCond_Wait(OSFastCondition *condition, OSFastMutex *mutex)
OSFastCond_Init
void OSFastCond_Init(OSFastCondition *condition, const char *name)
OSFastCondition
Definition:
fastcondition.h:24
OSFastMutex
Definition:
fastmutex.h:34
OSThreadQueue
Definition:
threadqueue.h:30
threadqueue.h
wut.h
Generated by
1.9.1