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: 2010-09-30 18:24:17 +0200 (Do, 30. Sep 2010) $ ($Revision: 616 $)
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