#include <oskit/threads/pthread.h>int pthread_cond_destroy(pthread_cond_t *cond);
Destroy a condition variable object. The condition variable should be unused, with no threads waiting for it. The memory for the object is left intact; it is up to the caller to deallocate it.
- cond
- A pointer to the condition variable object.
Returns zero on success. EINVAL if there are threads still waiting.
pthread_cond_init