THR_YIELD(3C)THR_YIELD(3C)NAME
thr_yield - yield to another thread
SYNOPSIS
cc -mt [ flag... ] file...[ library... ]
#include <thread.h>
void thr_yield(void);
DESCRIPTION
The thr_yield() function causes the current thread to yield its execu‐
tion in favor of another thread with the same or greater priority.
RETURN VALUES
The thr_yield() function returns nothing and does not set errno.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌───────────────┬─────────────────┐
│ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├───────────────┼─────────────────┤
│MT-Level │ MT-Safe │
└───────────────┴─────────────────┘
SEE ALSOthr_setprio(3C), attributes(5), standards(5)
May 12, 1998 THR_YIELD(3C)