Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
OSSemaphore.h
Go to the documentation of this file.
1#ifndef _DOLPHIN_OSSEMAPHORE_H_
2#define _DOLPHIN_OSSEMAPHORE_H_
3
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
14
15void OSInitSemaphore(OSSemaphore* sem, s32 count);
20
21#ifdef __cplusplus
22}
23#endif
24
25#endif // _DOLPHIN_OSSEMAPHORE_H_
s32 OSTryWaitSemaphore(OSSemaphore *sem)
Definition OSSemaphore.c:27
void OSInitSemaphore(OSSemaphore *sem, s32 count)
Definition OSSemaphore.c:4
struct OSSemaphore OSSemaphore
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:10
s32 count
Definition OSSemaphore.h:11
OSThreadQueue queue
Definition OSSemaphore.h:12
Definition OSThread.h:19
signed long s32
Definition types.h:8