##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# cnd_destroy

From cppreference.com
< c‎ | thread

Defined in header `<threads.h>` |  |
void cnd_destroy( cnd_t* cond ); |  | (since C11)

Destroys the condition variable pointed to by `cond`.

If there are threads waiting on `cond`, the behavior is undefined.

### [edit] Parameters

cond | - | pointer to the condition variable to destroy

### [edit] Return value

(none)

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/thread/cnd_destroy&oldid=63540"