CVS difference for ai05s/ai05-0169-1.txt
--- ai05s/ai05-0169-1.txt 2009/10/23 03:40:35 1.1
+++ ai05s/ai05-0169-1.txt 2010/02/20 04:08:43 1.2
@@ -1,4 +1,5 @@
-!standard D.14.2(4/2) 09-10-22 AI05-0169-1/01
+!standard D.14.2(3-4/2) 10-02-18 AI05-0169-1/02
+!standard D.14.2(21/2)
!reference AI05-0167-1
!class Amendment 09-10-22
!status work item 09-10-22
@@ -34,11 +35,10 @@
to
with System;
-with Ada.System.Multiprocessors;
+with System.Multiprocessors;
package Ada.Execution_Time.Group_Budgets is
- type Group_Budget(P : Ada.System.Multiprocessors.CPU :=
- Ada.System.Multiprocessors.Default_CPU)
- is tagged limited private
+ type Group_Budget(P : System.Multiprocessors.CPU := 1)
+ is tagged limited private;
Note that this definition depends on the definition of CPU from
AI05-0167-1.
@@ -48,11 +48,23 @@
A task will only consume the budget of a Group Budget if it is
executing on the defined processor for that Group Budget. This
applies to tasks assigned to specific processors, or those that
-are globally scheduling within an allocation domain.
+are globally scheduling within a dispatching domain.
!wording
-** TBD **
+Change D.14.2(3-4/2) to:
+
+with System;
+with System.Multiprocessors;
+package Ada.Execution_Time.Group_Budgets is
+
+ type Group_Budget(P : System.Multiprocessors.CPU := 1)
+ is tagged limited private;
+
+Change the third sentance of D.14.2(21/2) to:
+
+Any execution on processor P of any member of the group of tasks results
+in the budget counting down, unless exhausted.
!discussion
@@ -80,7 +92,7 @@
!ACATS test
-Add an ACATS C-Test of this package.
+Add an ACATS C-Test of setting the CPU in a group budget.
!appendix
Questions? Ask the ACAA Technical Agent