THRD_YIELD(3C) Standard C Library Functions THRD_YIELD(3C)
thrd_yield - yield the CPU to another thread
#include <threads.h>
void
thrd_yield(void);
The thrd_yield() function causes the current thread to yield the CPU
and allow other threads with the same or greater priority to run.
Standard
MT-Level
MT-Safe
yield(2), attributes(7), threads(7)
illumos January 11, 2015 illumos
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)
illumos January 11, 2015 illumos