DEVELOPMENT EDITION · 769442725406
Library Reference
Ada.Interrupts
The interrupts a protected procedure may handle with Attach_Handler (Ada RM C.3.2). On the hosts Verada runs on, an interrupt is a POSIX signal.
Read the family guide for representation, selection and resource rules. The complete declaration page retains exact signatures/contracts; the source specification is the implementation baseline.
Availability and ownership
Declares Interrupt_ID; Ada.Interrupts.Names names the signals a program may handle. A handler is attached as its protected object's package is elaborated and runs, under the object's lock, each time the signal occurs after activation; the data-race analysis counts it as one more task (B3019).
Import and instantiate
with Ada.Interrupts.Names;
...
procedure Handle with Attach_Handler => Ada.Interrupts.Names.SIGUSR1;API 001
Interrupt_ID (declaration) — An interrupt, by its number.
Declared interface:
type Interrupt_ID is range 0 .. 63;