Namespaces
Variants
Actions

cnd_destroy

From cppreference.com
< c‎ | thread
 
C
 
Concurrency support library
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.

Contents

[edit] Parameters

cond - pointer to the condition variable to destroy

[edit] Return value

(none)

[edit] References

  • C17 standard (ISO/IEC 9899:2018):
  • 7.26.3.2 The cnd_destroy function (p: 276)
  • C11 standard (ISO/IEC 9899:2011):
  • 7.26.3.2 The cnd_destroy function (p: 378-379)

[edit] See also

C++ documentation for ~condition_variable
C++ documentation for ~condition_variable_any

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant