sched_yield(2)

sched_yield - yield the processor

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     sched_yield - yield the processor

C SYNOPSIS
     #include <sched.h>
     int sched_yield (void);

DESCRIPTION
     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.

SEE ALSO
     alarm(2), pause(2), sched_getscheduler(2), sched_getparam(2),
     sched_setparam(2), sched_setscheduler(2), setitimer(2), sginap(2),
     sleep(3)

DIAGNOSTICS
     Upon successful completion, a value of 0 is returned to the calling
     process.