Destroys a condition variable.
tis_cond_destroy( cond );
Argument Data Type Accesscond opaque pthread_cond_t write
#includeint tis_cond_destroy ( pthread_cond_t *cond);
The results of this routine are unpredictable if the condition variable specified in cond does not exist or is not initialized.
For more information about actions when threads are present, refer to the pthread_cond_destroy description.
Return Description0 Successful completion. [EINVAL] The value specified by cond is invalid. [EBUSY] The object being referenced by cond is being referenced by another thread that is currently executing a tis_cond_wait on the condition variable specified in cond. (This error can only occur when threads are present.)
tis_cond_broadcast tis_cond_init tis_cond_signal tis_cond_wait