chsvlib
chsv helper source code

◆ chsv_cnd_destroy()

void Chusov::ExecutionControl::chsv_cnd_destroy ( chsv_cnd_t pCnd)
noexcept

Closes a specified condition variable object and releases associated resources.

Parameters
[in]pCndis a pointer to a descriptor of a condition variable object to be closed.
Returns
The function returns no value.

The function requires that no threads wait for the condition variable object pointed to by pCnd. The behaviour is undefined otherwise.

The function implements a behaviour of the cnd_destroy function defined in the ISO/IEC 9899:2011 (aka C11) standard.

See also
chsv_cnd_init;