$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, ...
NAMEsched_yield - yield processor
SYNOPSISIn sched.h Ft int Fn sched_yield void
DESCRIPTIONThe 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 VALUESRv -std sched_yield
ERRORSOn failure errno will be set to the corresponding value:
- Bq Er ENOSYS
- The system is not configured to support this functionality.