NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
OSMutex.h
1
#ifndef RVL_SDK_OS_MUTEX_H
2
#define RVL_SDK_OS_MUTEX_H
3
#include <revolution/OS/OSThread.h>
4
#include <types.h>
5
#ifdef __cplusplus
6
extern
"C"
{
7
#endif
8
9
typedef
struct
OSMutex
{
10
OSThreadQueue
queue;
// at 0x0
11
OSThread
* thread;
// at 0x8
12
s32 lock;
// at 0xC
13
struct
OSMutex
* next;
// at 0x10
14
struct
OSMutex
* prev;
// at 0x14
15
}
OSMutex
;
16
17
void
OSInitMutex(
OSMutex
* mutex);
18
void
OSLockMutex(
OSMutex
* mutex);
19
void
OSUnlockMutex(
OSMutex
* mutex);
20
void
__OSUnlockAllMutex(
OSThread
* thread);
21
BOOL OSTryLockMutex(
OSMutex
* mutex);
22
23
#ifdef __cplusplus
24
}
25
#endif
26
#endif
OSMutex
Definition
OSMutex.h:9
OSThreadQueue
Definition
OSThread.h:24
OSThread
Definition
OSThread.h:34
include
lib
revolution
OS
OSMutex.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2