*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> sched_yield (2)              



NAME    [Toc]    [Back]

     sched_yield -- yield processor

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <sched.h>


DESCRIPTION    [Toc]    [Back]

     The sched_yield() system call forces the running process to relinquish
     the processor until it again becomes the head of its process list.  It
     takes no arguments.

RETURN VALUES    [Toc]    [Back]

     The sched_yield() function returns the value 0 if successful; otherwise
     the value -1 is returned and the global variable errno is set to indicate
     the error.

ERRORS    [Toc]    [Back]

     On failure errno will be set to the corresponding value:

     [ENOSYS]		The system is not configured to support this functionality.

STANDARDS    [Toc]    [Back]

     The sched_yield() system call conforms to IEEE Std 1003.1b-1993

FreeBSD 5.2.1			March 12, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
sched_yield Linux yield the processor
sched_yield IRIX yield the processor
sginap IRIX timed sleep and processor yield function
pthread_yield OpenBSD yield control of the current thread
sched_yield Tru64 Signals scheduler a willingness to yield to another thread
assign_cpu_to_pset Tru64 Assigns a processor to a processor set
pset_assign_cpu Tru64 Assigns a processor to a processor set
pset_destroy HP-UX destroy a processor set
pset_create Tru64 Creates a processor set
pset_create HP-UX create a processor set
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service