#include <revolution/os.h> BOOL OSTryLockMutex(OSMutex* mutex);
mutex |
Pointer to mutex. |
|---|
Returns TRUE if the mutex is successfully locked. Otherwise, returns FALSE.
The calling thread tries to lock the mutex. Returns FALSE if the mutex is already locked.
Thread Functions, Thread Synchronization Functions, OSInitCond, OSInitMutex, OSLockMutex, OSSignalCond, OSUnlockMutex, OSWaitCond
2006/03/01 Initial version.
CONFIDENTIAL