CVS difference for ai05s/ai05-0169-1.txt
--- ai05s/ai05-0169-1.txt 2010/02/20 04:08:43 1.2
+++ ai05s/ai05-0169-1.txt 2010/04/20 22:36:03 1.3
@@ -1,7 +1,8 @@
-!standard D.14.2(3-4/2) 10-02-18 AI05-0169-1/02
+!standard D.14.2(3-4/2) 10-04-20 AI05-0169-1/03
!standard D.14.2(21/2)
!reference AI05-0167-1
!class Amendment 09-10-22
+!status ARG Approved 9-0-2 10-02-26
!status work item 09-10-22
!status received 09-10-22
!priority Low
@@ -37,11 +38,12 @@
with System;
with System.Multiprocessors;
package Ada.Execution_Time.Group_Budgets is
- type Group_Budget(P : System.Multiprocessors.CPU := 1)
+ type Group_Budget(P : System.Multiprocessors.CPU :=
+ System.Multiprocessors.CPU'First)
is tagged limited private;
Note that this definition depends on the definition of CPU from
-AI05-0167-1.
+AI05-0171-1.
Other parts of the package remain unchanged.
@@ -58,7 +60,8 @@
with System.Multiprocessors;
package Ada.Execution_Time.Group_Budgets is
- type Group_Budget(P : System.Multiprocessors.CPU := 1)
+ type Group_Budget(P : System.Multiprocessors.CPU :=
+ System.Multiprocessors.CPU'First)
is tagged limited private;
Change the third sentance of D.14.2(21/2) to:
@@ -83,9 +86,13 @@
to exploit 'reserved' budgets on each processor of an allocation
domain.
-!example
+This change constrains how implementations can implement this package
+on multiprocessor systems. This is potentially inconsistent with Ada 2005,
+as existing programs could depend on behavior that is no longer allowed
+(and they would fail if compiled with Ada 2012). Such programs are already
+not portable so this is not a major problem.
-** TBD **
+!example
--!corrigendum D.14.2(4/2)
Questions? Ask the ACAA Technical Agent