sched_yield (2)
Leading comments
$FreeBSD: releng/11.0/lib/libc/sys/sched_yield.2 131504 2004-07-02 23:52:20Z ru $ Copyright (c) 1998 HD Associates, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, ...
NAME
sched_yield - yield processorLIBRARY
Lb libcSYNOPSIS
In sched.h Ft int Fn sched_yield voidDESCRIPTION
The Fn 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
Rv -std sched_yieldERRORS
On failure errno will be set to the corresponding value:- Bq Er ENOSYS
- The system is not configured to support this functionality.