Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
UnixWaitConditions


NAME

UnixWaitConditions - conditions for UNIX processes

SYNOPSIS

PROCEDURE Create(VAR condition: Conditions.Condition;
                 pid: SysProcess.ProcessId);


PROCEDURE FetchStatus(condition: Conditions.Condition; VAR status: SysProcess.Status);

DESCRIPTION

UnixWaitConditions offers a cooperative way to wait for child processes to exit. Create creates a condition which evaluates to TRUE when the process with the given process id exits. The status record of an exited process may be retrieved by FetchStatus

SEE ALSO

Conditions
general interface for conditions
SysProcess
system call interface for wait(2)

Edited by: borchert, last change: 1994/07/05, revision: 1.1, converted to HTML: 1997/04/28

Oberon || Library || Module Index || Search Engine || Definition || Module