TutRwMutexDestroy destroy a multiple-reader/single-writer mutex
rw_mutex
R/W mutex object to destroy
TRUE
if R/W mutex object was successfully destroyed, FALSE
otherwise.
If TutRwMutexDestroy fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TutRwMutexDestroy destroys a R/W mutex object. All operating system resources associated with the R/W mutex are released.
Destroying a R/W mutex that other threads have locked or are waiting to lock has undefined results.
This example destroys a R/W mutex:
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |