Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ suspend(2) — Purdue Xinu

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

resume(2)

sleep(2)

send(2)

receive(2)

SUSPEND(2)

NAME

suspend − suspend a process to keep it from executing

SYNOPSIS

int suspend(pid)
int pid;

DESCRIPTION

Suspend places process pid in a state of hibernation.  If pid is illegal, or the process is not currently running or on the ready list, suspend returns SYSERR.  Otherwise it returns the priority of the suspended process.  A process may suspend itself, in which case the call returns the priority at which the process is resumed. 

Note that hibernation differs from sleeping because a hibernating process can remain on I/O or semaphore queues.  A process can put another into hibernation; a process can only put itself to sleep. 

SEE ALSO

resume(2), sleep(2), send(2), receive(2)

December 01, 1986  —  Xinu Programmer’s Manual

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