THRD_YIELD(3C) Standard C Library Functions THRD_YIELD(3C)

thrd_yieldyield the CPU to another thread

#include <threads.h>

void
thrd_yield(void);

The () function causes the current thread to yield the CPU and allow other threads with the same or greater priority to run.

yield(2), attributes(7), threads(7)

January 11, 2015 OmniOS