The pthread_cond_destroy function

Name

pthread_cond_destroy -- 

Synopsis

#include <pthread.h>

int pthread_cond_destroy (pthread_cond_t *cond );

Description

The pthread_cond_destroy function destroys the given condition variable. If the variable has one or more waiting threads then errno is set to EBUSY.

Returns

The pthread_cond_destroy function returns zero if the call is successful, otherwise it sets errno and returns -1.

Implementation Notes

None