SSBM Decomp
Loading...
Searching...
No Matches
OSMutex.h
Go to the documentation of this file.
1#ifndef DOLPHIN_OS_OSMUTEX_H
2#define DOLPHIN_OS_OSMUTEX_H
3
4#include <platform.h>
5
7
8typedef struct OSMutex {
9 OSThreadQueue queue; // at 0x00
10 OSThread* thread; // at 0x08
11 s32 count; // at 0x0C
12 OSMutexLink link; // at 0x10
13} OSMutex;
14
20
21bool __OSCheckDeadLock(OSThread* thread);
22bool __OSCheckMutexes(OSThread* thread);
23bool __OSCheckMutex(OSMutex* mutex);
24
25#endif
bool __OSCheckDeadLock(OSThread *thread)
Definition OSMutex.c:69
void OSUnlockMutex(OSMutex *)
void OSInitMutex(OSMutex *)
bool __OSCheckMutex(OSMutex *mutex)
Definition OSMutex.c:21
bool OSTryLockMutex(OSMutex *)
bool __OSCheckMutexes(OSThread *thread)
Definition OSMutex.c:83
void __OSUnlockAllMutex(OSThread *)
Definition OSMutex.c:3
void OSLockMutex(OSMutex *)
signed long s32
A signed 32-bit integer.
Definition platform.h:14
Definition OSMutex.h:8
OSThread * thread
Definition OSMutex.h:10
OSMutexLink link
Definition OSMutex.h:12
OSThreadQueue queue
Definition OSMutex.h:9
s32 count
Definition OSMutex.h:11
Definition OSThread.h:42
Definition OSThread.h:62