![]() |
![]() |
![]() |
Destroy condition variable
#include <pthread.h> int pthread_cond_destroy( pthread_cond_t* cond );
libc
The pthread_cond_destroy() function destroys the condition variable cond. After being destroyed, a condition variable shouldn't be reused until it's reinitialized using pthread_cond_init().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
pthread_cond_init(), SyncDestroy()
![]() |
![]() |
![]() |