As in the previous case it is necessary to destroy the resources once these have been used. This is done by calling a function named pthread_cond_destroy:
pthread_cond_destroy
int pthread_cond_destroy(pthread_cond_t *cond);