#include <nitro/os.h>
BOOL OS_TryLockMutex( OSMutex* mutex );
mutex | Pointer to the OSMutex structure |
Returns TRUE when mutex
is locked. Otherwise returns FALSE.
The calling thread attempts to lock mutex.
If the mutex cannot be locked, the function returns FALSE
. If the thread is able to lock the mutex, this function performs processing conforming to OS_LockMutex()
.
OS_InitMutex, OS_LockMutex, OS_UnlockMutex
2003/12/01 Initial version.
CONFIDENTIAL