thr_yield(3T) manual page
Table of Contents
thr_yield - thread yield to another thread
cc [ flag ... ] file
... -lthread [ library ... ]
#include <thread.h>
void thr_yield(void);
MT-Safe
thr_yield() causes the
current thread to yield its execution in favor of another thread with the
same or greater priority.
thr_yield() returns nothing and does
not set errno.
sched_yield(3R)
, thr_setprio(3T)
There is a
POSIX real-time function, sched_yield(3R)
, that provides the same functionality
as thr_yield(). For Solaris, sched_yield(3R)
does nothing more than return
an error message indicating that the system call is not supported.
Table of Contents