1SCHED_YIELD(P)             POSIX Programmer's Manual            SCHED_YIELD(P)
2
3
4

NAME

6       sched_yield - yield the processor
7

SYNOPSIS

9       #include <sched.h>
10
11       int sched_yield(void);
12
13

DESCRIPTION

15       The sched_yield() function shall force the running thread to relinquish
16       the processor until it again becomes the head of its  thread  list.  It
17       takes no arguments.
18

RETURN VALUE

20       The sched_yield() function shall return 0 if it completes successfully;
21       otherwise, it shall return a value of -1 and set errno to indicate  the
22       error.
23

ERRORS

25       No errors are defined.
26
27       The following sections are informative.
28

EXAMPLES

30       None.
31

APPLICATION USAGE

33       None.
34

RATIONALE

36       None.
37

FUTURE DIRECTIONS

39       None.
40

SEE ALSO

42       The Base Definitions volume of IEEE Std 1003.1-2001, <sched.h>
43
45       Portions  of  this text are reprinted and reproduced in electronic form
46       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
47       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
48       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
49       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
50       event of any discrepancy between this version and the original IEEE and
51       The  Open Group Standard, the original IEEE and The Open Group Standard
52       is the referee document. The original Standard can be  obtained  online
53       at http://www.opengroup.org/unix/online.html .
54
55
56
57IEEE/The Open Group                  2003                       SCHED_YIELD(P)
Impressum