Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sched_yield(3c) [opensolaris man page]

sched_yield(3C) 					   Standard C Library Functions 					   sched_yield(3C)

NAME
sched_yield - yield processor SYNOPSIS
#include <sched.h> int sched_yield(void); DESCRIPTION
The sched_yield() 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, sched_yield() returns 0, otherwise, it returns -1, and sets errno to indicate the error condition. ERRORS
No errors are defined. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ |ATTRIBUTE TYPE |ATTRIBUTE 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 5 Feb 2008 sched_yield(3C)

Check Out this Related Man Page

sched_yield(3RT)					    Realtime Library Functions						  sched_yield(3RT)

NAME
sched_yield - yield processor SYNOPSIS
cc [ flag... ] file... -lrt [ library... ] #include <sched.h> int sched_yield(void); DESCRIPTION
The sched_yield() 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, sched_yield() returns 0, otherwise, it returns -1, and sets errno to indicate the error condition. ERRORS
No errors are defined. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
librt(3LIB), sched.h(3HEAD), attributes(5) SunOS 5.10 5 Oct 2001 sched_yield(3RT)
Man Page