OpenBSD manual page server
||System Calls Manual
yield the processor
sched_yield() function makes the current thread
yield the processor and be put at the end of its run queue without altering
Upon successful completion, the value 0 is returned; otherwise the
value -1 is returned and the global variable
errno is set to indicate the error.
sched_yield() function conforms to
IEEE Std 1003.1-2008 (“POSIX.1”).
sched_yield() system call appeared in
The effect of
sched_yield() is only precisely defined
for real-time scheduling classes, none of which are currently supported by