SGINAP(2) SGINAP(2)
NAME
sginap - timed sleep and processor yield function
SYNOPSIS
void sginap (ticks)
long ticks;
DESCRIPTION
The sginap system call provides two functions. With an
argument of 0, it yields the processor to any higher or
equal priority processes immediately, thus potentially
allowing another process to run. Note that because the user
has no direct control over the exact priority of a given
process, this does not guarantee that another process will
run.
With an argument which is non-zero, sginap will suspend the
process for ticks clock ticks. The length of a clock tick
is defined by HZ in the include file <sys/param.h> and is
different for different IRIS-4D products.
SEE ALSO
sleep(3), alarm(2), pause(2)
ORIGIN
Silicon Graphics, Inc.
Page 1 (last mod. 8/20/87)