void myqtt_cond_destroy ( MyQttCond 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 myqtt_async_queue_safe_unref(), myqtt_async_queue_unref(), and myqtt_ctx_free2().