J.15.11 Pragmas Priority and Interrupt_Priority
Syntax
The form of a 
pragma 
Priority is as follows: 
 
The form of a 
pragma 
Interrupt_Priority is as follows: 
 
Name Resolution Rules
The expected type for the 
expression 
in a Priority or Interrupt_Priority pragma is Integer.
 
 
Legality Rules
Static Semantics
For an implementation 
that supports Annex D, a 
pragma 
Priority specifies the value of the Priority aspect (see 
D.1) 
and a 
pragma 
Interrupt_Priority specifies the value of the Interrupt_Priority aspect 
as follows:
 
 If there is no 
expression 
in an Interrupt_Priority pragma, the Interrupt_Priority aspect has the 
value Interrupt_Priority'Last. 
 
Ada 2005 and 2012 Editions sponsored in part by Ada-Europe