sched_yield(2) sched_yield(2)
sched_yield - yield the processor
#include <sched.h>
int sched_yield (void);
The sched_yield system call causes the calling process to relinquish the
processor to a runnable process of higher or equal priority. In the
event a higher or equal priority process is not available, the calling
process reacquires control of the processor.
alarm(2), pause(2), sched_getscheduler(2), sched_getparam(2),
sched_setparam(2), sched_setscheduler(2), setitimer(2), sginap(2),
sleep(3)
Upon successful completion, a value of 0 is returned to the calling
process.
PPPPaaaaggggeeee 1111 [ Back ]
|