Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sginap(2) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sleep(3)

alarm(2)

pause(2)

SGINAP(2)  —  Silicon Graphics

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 <machine/param.h> and is different for different IRIS products. 

SEE ALSO

sleep(3), alarm(2), pause(2)

Version 2.5  —  April 22, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026