Lines Matching refs:OSMutex
42 typedef struct OSMutex OSMutex; typedef
46 struct OSMutex struct
53 OSMutex *prev; // link for OSThread.queueMutex argument
54 OSMutex *next; // link for OSThread.queueMutex argument
62 static inline void OS_SetMutexCount( OSMutex* mutex, s32 count ) in OS_SetMutexCount()
66 static inline s32 OS_GetMutexCount( OSMutex* mutex ) in OS_GetMutexCount()
70 static inline void OS_IncreaseMutexCount( OSMutex* mutex ) in OS_IncreaseMutexCount()
76 static inline void OS_DecreaseMutexCount( OSMutex* mutex ) in OS_DecreaseMutexCount()
82 static inline void OS_SetMutexType( OSMutex* mutex, u32 type ) in OS_SetMutexType()
86 static inline u32 OS_GetMutexType( OSMutex* mutex ) in OS_GetMutexType()
102 void OS_InitMutex(OSMutex *mutex);
113 void OS_LockMutex(OSMutex *mutex);
124 void OS_UnlockMutex(OSMutex *mutex);
135 BOOL OS_TryLockMutex(OSMutex *mutex);
158 void OS_LockMutexR(OSMutex *mutex);
169 void OS_LockMutexW(OSMutex *mutex);
180 BOOL OS_TryLockMutexR(OSMutex *mutex);
191 BOOL OS_TryLockMutexW(OSMutex *mutex);
202 void OS_UnlockMutexR(OSMutex *mutex);
213 void OS_UnlockMutexW(OSMutex *mutex);
224 void OS_UnlockMutexRW(OSMutex *mutex);
236 void OS_LockMutexFromRToW(OSMutex *mutex);
247 BOOL OS_TryLockMutexFromRToW(OSMutex *mutex);
259 void OS_LockMutexFromWToR(OSMutex *mutex);
270 BOOL OS_TryLockMutexFromWToR(OSMutex *mutex);