Endeavours to permit other threads to run, even if the current thread would ordinarily continue to run.
The function implements a behaviour of the thrd_yield function defined in the ISO/IEC 9899:2011 (aka C11) standard.