TutMutexLockFast lock a high-performance mutex object
mutex
the mutex object to lock
TRUE
if the mutex object was successfully locked, FALSE
otherwise.
If TutMutexLockFast fails, it returns FALSE
, and sets the global C error number.
TutMutexLockFast performs a blocking (non-time-bounded) lock operation on mutexes created with the TutMutexCreateFast function. If the mutex is not immediately available, the calling thread is suspended until it becomes available.
Every call to TutMutexLockFast should be balanced by a subsequent call from the same thread to TutMutexUnlock.
TutMutexCreateFast, TutMutexLock, TutMutexUnlock, TutMutexDestroy
The example for TutMutexCreateFast on page 144 demonstrates the use of TutMutexLockFast.
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |