J.15.8 Shared Variable Pragmas
Syntax
1/3
{
AI05-0229-1}
The form for pragmas
Atomic, Volatile, Independent, Atomic_Components, and Volatile_Components,
and Independent_Components is as follows:
2/3
3/3
4/3
5/3
6/3
7/3
7.a/3
Discussion: {
AI05-0009-1}
{
AI05-0229-1}
Pragmas Independent and Independent_Components
are born obsolescent; they are defined to provide consistency with the
existing shared variable pragmas. As with all obsolescent features, these
pragmas are not optional; all Ada implementations need to implement them.
Also note that these pragmas were defined as a Correction; as
such, they are expected to be implemented as part of Ada 2005 implementations
(and they would not be obsolescent there).
Name Resolution Rules
8/3
Static Semantics
9/3
{
AI05-0229-1}
These pragmas
are representation pragmas (see 13.1). Each
of these pragmas
specifies that the similarly named aspect (see C.6)
of the type, object, or component denoted by its argument is True.
Legality Rules
10/3
Wording Changes from Ada 2005
10.a/3
{
AI05-0229-1}
This clause is new. These pragmas were moved here
from C.6; various aspects live there now.
Ada 2005 and 2012 Editions sponsored in part by Ada-Europe