THRD_YIELD(3C) Standard C Library Functions THRD_YIELD(3C)
NAME
thrd_yield - yield the CPU to another thread
SYNOPSIS
#include <threads.h> void thrd_yield(
void);
DESCRIPTION
The
thrd_yield() function causes the current thread to yield the CPU
and allow other threads with the same or greater priority to run.
INTERFACE STABILITY
StandardMT-Level MT-SafeSEE ALSO
yield(2),
attributes(7),
threads(7)illumos January 11, 2015 illumos