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


Standard

MT-Level
MT-Safe

SEE ALSO


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

OmniOS January 11, 2015 OmniOS