TutRwMutexUnlock release a lock on a R/W mutex
rw_mutex
R/W mutex object to unlock
TRUE
if the operation was successful, FALSE
otherwise.
If TutRwMutexUnlock fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TutRwMutexUnlock releases a lock on a R/W mutex. Only a thread that owns a lock on rw_mutex
can successfully unlock it.
Every call to TutRwMutexUnlock must balance a previous call to either TutRwMutexReadLock or TutRwMutexWriteLock.
TutRwMutexCreate, TutRwMutexReadLock, TutRwMutexWriteLock
This example unlocks a R/W mutex:
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |