Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
OSSemaphore.h
Go to the documentation of this file.
1#ifndef _DOLPHIN_OSSEMAPHORE_H_
2#define _DOLPHIN_OSSEMAPHORE_H_
3
4#ifdef __REVOLUTION_SDK__
6#else
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
17
18void OSInitSemaphore(OSSemaphore* sem, s32 count);
23
24#ifdef __cplusplus
25}
26#endif
27
28#endif
29#endif // _DOLPHIN_OSSEMAPHORE_H_
s32 OSTryWaitSemaphore(OSSemaphore *sem)
Definition OSSemaphore.c:27
void OSInitSemaphore(OSSemaphore *sem, s32 count)
Definition OSSemaphore.c:4
s32 OSGetSemaphoreCount(OSSemaphore *sem)
Definition OSSemaphore.c:54
s32 OSWaitSemaphore(OSSemaphore *sem)
Definition OSSemaphore.c:12
s32 OSSignalSemaphore(OSSemaphore *sem)
Definition OSSemaphore.c:41
signed long s32
Definition types.h:11
struct OSSemaphore OSSemaphore
Definition OSSemaphore.h:13
s32 count
Definition OSSemaphore.h:14
OSThreadQueue queue
Definition OSSemaphore.h:15
Definition OSThread.h:22