THR_YIELD(3C) Standard C Library Functions THR_YIELD(3C)

thr_yield - yield to another thread

cc -mt [ flag... ] file...[ library... ]
#include <thread.h>
void thr_yield(void);

The thr_yield() function causes the current thread to yield its execution in favor of another thread with the same or greater priority.

The thr_yield() function returns nothing and does not set errno.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe

thr_setprio(3C), attributes(7), standards(7)

May 12, 1998 OmniOS