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