Differences between current version and previous revision of sched_yield(2).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Tuesday, April 15, 2003 12:52:32 am | by PerryLorier | |
Older page: | version 5 | Last edited on Monday, April 14, 2003 7:28:02 pm | by PerryLorier | Revert |
@@ -10,9 +10,9 @@
A process can relinquish the processor voluntarily without blocking by calling sched_yield(2). The process will then be moved to the end of the queue for its static priority and a new process gets to run.
Note: If the current process is the only process in the highest priority list at that time, this process will continue to run after a call to sched_yield(2).
-POSIX systems on which sched_yield(1
) is available define ''_POSIX_PRIORITY_SCHEDULING'' in <unistd.h>''
+POSIX systems on which sched_yield(2
) is available define ''_POSIX_PRIORITY_SCHEDULING'' in <unistd.h>''
!!RETURN VALUE
On success, __sched_yield__ returns 0. On error, -1 is returned, and ''errno'' is set appropriately.