Standard C Library Functions thr_yield(3C)
NAME
thr_yield - yield to another thread
SYNOPSIS
cc -mt [ flag... ] file...[ library... ]
#include
void thr_yield(void);
DESCRIPTION
The thr_yield() function causes the current thread to yield
its execution 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 attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
thr_setprio(3C), attributes(5), standards(5)
SunOS 5.11 Last change: 12 May 1998 1