void vortex_cond_destroy ( VortexCond cond)

Destroys a condition variable, freeing the resources it might hold.

No threads must be waiting on the condition variable on entrance to pthread_cond_destroy.

Parameters
condThe conditional variable to destroy.

Referenced by vortex_async_queue_safe_unref(), vortex_async_queue_unref(), and vortex_channel_free().