sched_yield - yield processor
#include <sched.h> int sched_yield(void);
The sched_yield() function forces the running thread to relinquish the processor until it again becomes the head of its thread list. It takes no arguments.
The sched_yield() function returns 0 if it completes successfully, or it returns a value of -1 and sets errno to indicate the error.
No errors are defined.
None.
None.
None.
<sched.h>.
Derived from the POSIX Realtime Extension (1003.1b-1993/1003.1i-1995) and the POSIX Threads Extension (1003.1c-1995)