| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
|  | This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Destroy condition variable
#include <pthread.h> int pthread_cond_destroy( pthread_cond_t* cond );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The pthread_cond_destroy() function destroys the condition variable cond. After you've destroyed a condition variable, you shouldn't reuse it until you've reinitialized it by calling pthread_cond_init().
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes | 
pthread_cond_init(), SyncDestroy()
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |