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.
cond | - | pointer to the condition variable to destroy |
(none).
C++ documentation for ~condition_variable |
|
C++ documentation for ~condition_variable_any |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/c/thread/cnd_destroy