OS_TryLockMutex


C Specification

#include <nitro/os.h>

BOOL OS_TryLockMutex( OSMutex* mutex );

Description

Attempts to lock Mutex

If lock fails, FALSE is returned. If lock succeeds, the procedure for OS_LockMutex() is performed.

Arguments

mutex Pointer to the Mutex structure

Return Values

If Mutex is successfully locked, TRUE is returned. If lock fails, FALSE is returned.

See Also

OS_InitMutex, OS_LockMutex, OS_UnlockMutex

Revision History

12/01/2003 Initial Version