void valvula_cond_destroy ( ValvulaCond 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 valvula_async_queue_safe_unref(), and valvula_async_queue_unref().