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 _REVOLUTION_OSSEMAPHORE_H_
2#define _REVOLUTION_OSSEMAPHORE_H_
3
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct OSSemaphore {
11 s32 count;
14
15void OSInitSemaphore(OSSemaphore* sem, s32 count);
20
21#ifdef __cplusplus
22}
23#endif
24
25#endif // _REVOLUTION_OSSEMAPHORE_H_
struct OSSemaphore OSSemaphore
signed long s32
Definition types.h:11
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
Definition OSSemaphore.h:13
s32 count
Definition OSSemaphore.h:14
OSThreadQueue queue
Definition OSSemaphore.h:15
Definition OSThread.h:22