Destroy condition variable attribute object
#include <pthread.h>
int pthread_condattr_destroy(
pthread_condattr_t* attr );
libc
The pthread_condattr_destroy() function destroys the condition variable attribute object attr. After the condition variable attribute object has been destroyed it shouldn't be reused unless it's reinitialized using pthread_condattr_init().
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
pthread_mutexattr_init(), pthread_mutex_init()