Adelsbach Enhanced Threading Library

Manual Pages (DD-00013-001)

Enhanced Threading Library > thrd_yield (3)
HTML TXT PDF PS
thrd_yield(3) Library Functions Manual thrd_yield(3)

thrd_yieldyield the execution to another thread

library “threads”
#include <threads.h>

void
thrd_yield();

The function () will yield execution from the current thread to an other thread, that have the same or a higher execution priority.

thrd_create(3) thrd_exit(3) thrd_current(3) thrd_detach(3) thrd_join(3) thrd_equal(3) thrd_sleep(3)

The thrd_yield() function first appeared in the C11 standard ISO/IEC 9899:2011.

Jan Adelsbach <jan@jadelsbach.de>

May 9, 2020 Debian