Oberon ||
Library ||
Module Index ||
Search Engine ||
Definition ||
Module
Ulm's Oberon Library:
SysSignalOperations
NAME
SysSignalOperations - miscellaneous signal operations
SYNOPSIS
CONST sigsetlen = (SysSignals.nsigs + Sets.setsize - 1) DIV Sets.setsize;
TYPE SignalSet = ARRAY sigsetlen OF SET;
PROCEDURE Block(VAR signals: SignalSet);
PROCEDURE SetMask(VAR signals: SignalSet);
DESCRIPTION
SysSignalOperations
allows to block the delivery of UNIX signals.
Usually this is done by raising the priority
(see Events and Priorities).
Under some circumstances, however,
even the execution of the event handling code of
SysSignals and Events
must be prohibited
(e.g. during the collection phase of a copying garbage collector).
The UNIX system maintains a set of signals which are
blocked from delivery.
Block
allows to add signals to the current set
while SetMask sets the current set to signals.
Both operations return the former set in signals.
DIAGNOSTICS
Errors (e.g. trying to block SysSignals.sigKILL)
are silently ignored.
SEE ALSO
- Events
-
general interface for events
- Sets
-
set operations for sets larger than SET
- sigblock(2)
-
sigblock system call
- sigsetmask(2)
-
sigsetmask system call
- SysSignals
-
Events interface for UNIX signals
Edited by: borchert, last change: 2001/04/09, revision: 1.2, converted to HTML: 2001/04/09
Oberon ||
Library ||
Module Index ||
Search Engine ||
Definition ||
Module