Next: Pragma Independent_Components, Previous: Pragma Import_Valued_Procedure, Up: Implementation Defined Pragmas [Contents][Index]
Syntax:
pragma Independent (Local_NAME);
This pragma is standard in Ada 2012 mode (which also provides an aspect of the same name). It is also available as an implementation-defined pragma in all earlier versions. It specifies that the designated object or all objects of the designated type must be independently addressable. This means that separate tasks can safely manipulate such objects. For example, if two components of a record are independent, then two separate tasks may access these two components. This may place constraints on the representation of the object (for instance prohibiting tight packing).