chsvlib
chsv helper source code

◆ chsv_thrd_yield()

void Chusov::ExecutionControl::chsv_thrd_yield ( void  )
noexcept

Endeavours to permit other threads to run, even if the current thread would ordinarily continue to run.

Returns
The function returns nothing.

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

See also
chsv_thrd_sleep;
chsv_thrd_sleepfor;
chsv_thrd_current.