Standard C Library Functions schedyield(3C)
NAME
schedyield - yield processor
SYNOPSIS
#include
int schedyield(void);
DESCRIPTION
The schedyield() function forces the running thread to
relinquish the processor until the process again becomes the
head of its process list. It takes no arguments.
RETURN VALUES
If successful, schedyield() returns 0, otherwise, it
returns -1, and sets errno to indicate the error condition.
ERORS
No errors are defined.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
Standard See standards(5).
SEE ALSO
librt(3LIB), sched.h(3HEAD), attributes(5), standards(5)
SunOS 5.11 Last change: 5 Feb 2008 1
|