sched_yield.2 (79531) | sched_yield.2 (79754) |
---|---|
1.\" $FreeBSD: head/lib/libc/sys/sched_yield.2 79531 2001-07-10 13:41:46Z ru $ | 1.\" $FreeBSD: head/lib/libc/sys/sched_yield.2 79754 2001-07-15 07:53:42Z dd $ |
2.\" Copyright (c) 1998 HD Associates, Inc. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. --- 26 unchanged lines hidden (view full) --- 36.Ft int 37.Fn sched_yield void 38.Sh DESCRIPTION 39The 40.Fn sched_yield 41function forces the running process to relinquish the processor until it 42again becomes the head of its process list. It takes no arguments. 43.Sh RETURN VALUES | 2.\" Copyright (c) 1998 HD Associates, Inc. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. --- 26 unchanged lines hidden (view full) --- 36.Ft int 37.Fn sched_yield void 38.Sh DESCRIPTION 39The 40.Fn sched_yield 41function forces the running process to relinquish the processor until it 42again becomes the head of its process list. It takes no arguments. 43.Sh RETURN VALUES |
44The | 44The |
45.Fn sched_yield 46function will return zero if it completes successfully, or it 47will return a value of -1 and set 48.Va errno 49to indicate the error. 50.Sh ERRORS 51On failure 52.Va errno 53will be set to the corresponding value: 54.Bl -tag -width Er 55.It Bq Er ENOSYS 56The system is not configured to support this functionality. 57.El 58.Sh STANDARDS 59The | 45.Fn sched_yield 46function will return zero if it completes successfully, or it 47will return a value of -1 and set 48.Va errno 49to indicate the error. 50.Sh ERRORS 51On failure 52.Va errno 53will be set to the corresponding value: 54.Bl -tag -width Er 55.It Bq Er ENOSYS 56The system is not configured to support this functionality. 57.El 58.Sh STANDARDS 59The |
60.Fn sched_yield | 60.Fn sched_yield |
61function conforms to 62.St -p1003.1b-93 . | 61function conforms to 62.St -p1003.1b-93 . |