This structure provides a simple mechanism for handling interrupt (^C) signals.
List of Import References :
See BOOL
See Com
See DENOTATION
See Nat
See Option
See Seq
See Void
SIGNATURE ProcessInterrupt
$Date: 1998/06/16 16:00:19 $ ($Revision: 1.1.1.1 $)
IMPORT Nat ONLY nat Com[nat] ONLY com:SORT
If this structure is incorporated in a process, interrupt signals
(SIGINT) will be caught and recorded in a global counter. The command
readInterrupts
returns the value of this counter and resests it
to zero.
FUN readInterrupts : com[nat]
Note that system calls may fail with error
interruptedSystemCall?'UnixFailures
if ProcessInterrupt
is used.
next node: Time,
prev node: ProcessArgs,
up to node: Subsystem Unix