!standard 3.9(6/2) 20-07-21 AI12-0302-1/07 !standard 3.9(18.2/3) !standard 9.6(10) !standard 9.6.1(2/2) !standard 9.6.1(8/2) !standard 9.6.1(15/2) !standard 11.4.1(2/2) !standard 13.7.2(2) !standard 13.11.2(3/3) !standard 13.13.1(9) !standard 13.13.4(3/3) !standard 13.13.4(10/3) !standard 13.13.4(11/3) !standard 13.13.5(3/3) !standard A.4.3(5) !standard A.4.4(3) !standard A.4.5(3) !standard A.4.7(3) !standard A.4.7(46.2/2) !standard A.4.8(3) !standard A.4.8(50/2) !standard A.4.9(7/3) !standard A.4.9(10/3) !standard A.4.9(11.7/3) !standard A.4.9(11.10/3) !standard A.4.10(7/3) !standard A.4.10(10/3) !standard A.4.10(18/3) !standard A.4.10(21/3) !standard A.5.2(5) !standard A.5.2(8) !standard A.5.2(9) !standard A.5.2(12) !standard A.5.2(17) !standard A.5.2(20) !standard A.5.2(21) !standard A.5.2(24) !standard A.5.6(0) !standard A.5.7(0) !standard A.8.1(2) !standard A.8.1(10.1/4) !standard A.8.1(12) !standard A.8.4(2) !standard A.8.4(10.1/4) !standard A.8.4(12) !standard A.8.4(13) !standard A.8.4(14) !standard A.9(3) !standard A.10.1(2) !standard A.10.1(21/1) !standard A.10.1(23) !standard A.10.1(24) !standard A.10.1(25) !standard A.10.1(26) !standard A.10.1(28) !standard A.10.1(29) !standard A.10.1(30) !standard A.10.1(31) !standard A.10.1(32) !standard A.10.1(35) !standard A.10.1(36) !standard A.10.1(37) !standard A.10.1(38) !standard A.10.1(39) !standard A.10.1(41) !standard A.10.1(42) !standard A.10.1(43) !standard A.10.1(44) !standard A.10.1(45) !standard A.10.1(47) !standard A.10.1(48) !standard A.10.1(49) !standard A.10.1(54) !standard A.10.1(55) !standard A.10.1(59) !standard A.10.1(60) !standard A.10.1(65) !standard A.10.1(66) !standard A.10.1(70) !standard A.10.1(71) !standard A.10.1(75) !standard A.10.1(76) !standard A.10.1(81) !standard A.10.1(82) !standard A.10.1(49.1/2) !standard A.10.1(50) !standard A.10.11(3/2) !standard A.10.12(3/2) !standard A.12.1(3/3) !standard A.12.1(15) !standard A.12.1(16) !standard A.12.1(18) !standard A.12.1(19) !standard A.12.1(22) !standard A.12.2(3) !standard A.12.3(3) !standard A.12.4(3/2) !standard A.15(3) !standard A.16(3/2) !standard A.16.1(3/3) !standard A.17(3/2) !standard B.3.1(3) !standard B.3.2(4) !standard B.4(7) !standard C.3.2(2/3) !standard C.3.2(12) !standard C.7.1(2/2) !standard C.7.2(2) !standard C.7.3(2/2) !standard D.2.1(1.2/3) !standard D.2.4(2.2/3) !standard D.2.5(4/2) !standard D.2.6(9/2) !standard D.5.1(3/2) !standard D.8(3) !standard D.10(3/2) !standard D.10(5.2/3) !standard D.10.1(3/3) !standard D.11(3/2) !standard D.14(3/2) !standard D.14.1(3/2) !standard D.14.2(3/2) !standard D.14.3(3/3) !standard D.15(3/2) !standard D.16(3/3) !standard D.16.1(3/3) !standard E.5(3) !standard E.5(23) !standard F.3.3(3) !standard G.1.3(3) !class Amendment 19-01-10 !status Amendment 1-2012 19-10-30 !status WG9 Approved 22-06-22 !status ARG Approved 10-0-3 20-06-13 !status work item 20-04-30 !status ARG Approved 9-0-1 19-10-06 !status work item 19-01-10 !status received 19-01-10 !priority High !difficulty Medium !subject Default Global aspect for language-defined units !summary Language-defined units declared as Pure will be implicitly Global => null. Other units will have Global => in out synchronized. Subprograms that update the internal state of a "compound" object identified by an "in" parameter (e.g. File_Type and Generator), will have Global => overriding in out . IO routines that refer implicitly to Current_Input or Current_Output will have Global => in out all, since Current_Input or Current_Output could refer to any file in the program. !problem In the absence of a Global aspect, the default is "Global => unspecified" unless a package is declared Pure. This is not consistent with the requirement of RM A(3/5) that language-defined (generic) packages be reentrant, nor is it consistent with portability (as we do not want the legality of code using the language-defined units to depend on implementation-defined mechanisms). !proposal For language-defined units declared Pure, we will have the implicit Global => null. For other packages, we will insert an explicit: Global => in out synchronized Below are two lists of the language-defined units. The first list is those declared Pure. The second list is of those not declared Pure. We have reviewed the second list and made certain that "Global => in out synchronized" is appropriate for each. Some will have individual operations that can be specified as Global => null, if their result is purely a function of their inputs. And some, in particular in the I/O packages, will need to indicate their use of an unknown, unsynchronized global corresponding to Current_Input or Current_Output, as explained in RM A(3.1/4). For these, ideally we could write something like: Global => (in out Current_Input, synchronized) or Global => (in out Current_Output, synchronized) but alas, Current_Input and Current_Output are function calls, and do not statically name an object. So we are relegated to simply: Global => in out all since Current_Input and Current_Output could refer to any File_Type object anywhere in the program. This would mean any call using Current_Input or Current_Output would be considered to conflict with anything that refers to an unsynchronized global. A more general problem has to do with parameters that are clearly "handles" or equivalent on an object with levels of indirection, as described by in AI12-0079-3, such as a File_Type, random number Generator, or a task object. Even though they are passed as IN parameters, the subprogram can clearly update their associated state. One choice is to consider all of this state as residing, unsynchronized, in the associated package, as we did above for Current_Input and Current_Output, but that would be painful, since none of the, for example, File operations would be independent even when the Files designate distinct internal files. Instead, as part of AI12-0079-3, we have explicitly permitted the notion of "overriding" an IN mode with a mode that reflects the effect on the underlying object and any levels of indirection. Hence, Put and Get become: procedure Put (File : File_Type; Item : String) with Global => overriding in out File; procedure Get (File : File_Type; Item : out String) with Global => overriding in out File; Using the same approach, Random becomes: function Random(Gen : Generator) return Result_Subtype with Global => overriding in out Gen; Similarly, the various Reset procedures will have ... with Global => overriding in out Gen; Finally, we have functions that return generalized references into another object, e.g.: function Reference(Container : aliased in out Map; ...) return Reference_Type; How do we specify that the returned reference refers to some part of Container? As part of the most recent fix-up on Global, we leave effects on visible access types to the caller. With this rule, we can specify Global => null on the above, because the "in out" mode of the Container parameter already captures the object designated by the result object. !wording So to summarize the wording, each library unit will have a well-defined Global aspect at the package level, being either implicitly "null" for pure library units, or explicitly "in out synchronized" for impure library units (see list of impure units below). And then within the impure units, individual subprograms may override this default with "null" when they are certain to have no side effects other than those represented by the modes of their formal parameters (not clear it is worth defining these at this stage). Alternatively, subprograms may overide with "in [out] " when they refer to implicit state that is *not* synchronized. For operations within a generic, we may want to specify Use_Formal => null for certain operations we know do not use the generic formals, though that seems relatively minor, since in most cases the generic actual won't have any weird Global aspects anyway. For operations that take class-wide parameters, we may want to take advantage of the Dispatching aspect feature defined in H.7.1 to narrow the effects. Note: We do not cover the containers packages here; their Global aspects are specified as part of AI12-0112-1, which overhauls the contracts of the containers generally. OVERRIDING PARAMETER MODES Here are the details for subprograms with side effects that cannot use the default associated with the enclosing impure library unit (ignoring side-effect free subprograms for now): Within 13.11.4, Subpools: Modify Set_Pool_Of_Subpool, Allocate_From_Subpool to have: with Global => overriding in out Subpool; --- Within A.5.2, Discrete_Random and Float_Random: Modify Random, Reset to have with Global => overriding in out Gen; --- Within A.8.1, Sequential_IO: Modify Flush, Read, Write to have with Global => overriding in out File; --- Within A.8.4, Direct_IO: Modify Flush, Read, Write, Set_Index to have: with Global => overriding in out File; --- Within A.10.1, Text_IO: Modify current input/output versions of: Flush, Set_Line_Length, Set_Page_Length, New_Line, Skip_Line, New_Page, Skip_Page, Set_Col, Set_Line, Put, Get, Put_Line, Get_Line, Look_Ahead, Get_Immediate to have: with Global => in out all; Modify File_Type versions of Flush, Set_Line_Length, Set_Page_Length, New_Line, Skip_Line, New_Page, Skip_Page, Set_Col, Set_Line, Put, Get, Put_Line, Get_Line, Look_Ahead, Get_Immediate to have with Global => overriding in out File; Modify current input/output versions of: Line_Length, Page_Length, End_Of_Line, End_Of_Page, End_Of_File, Col, Line, Page to have with Global => in all; --- Within A.12.1, Stream_IO: Modify Read, Write, Set_Index to have: with Global => overriding in out File; --- --------------- The following units are Pure and do not need a Global specification: --------------- Standard -- A.1 Ada -- A.2 Assertions 11.4.2 Characters -- A.3.1 Conversions -- A.3.4 Handling -- A.3.2 Latin_1 -- A.3.3 Containers -- A.18.1 Bounded_Doubly_Linked_Lists -- A.18.20 Bounded_Hashed_Maps -- A.18.21 Bounded_Hashed_Sets -- A.18.23 Bounded_Multiway_Trees -- A.18.25 Bounded_Ordered_Maps -- A.18.22 Bounded_Ordered_Sets -- A.18.24 Bounded_Vectors -- A.18.19 Generic_Array_Sort -- A.18.26 Generic_Constrained_Array_Sort -- A.18.26 Generic_Sort -- A.18.26 Synchronized_Queue_Interfaces -- A.18.27 Decimal -- F.2 Finalization -- 7.6 IO_Exceptions -- A.13 Iterator_Interfaces -- 5.5.1 Locales -- A.19 Numerics -- A.5 Big_Numbers -- A.5.5 Complex_Arrays -- G.3.2 Complex_Elementary_Functions -- G.1.2 Complex_Types -- G.1.1 Elementary_Functions -- A.5.1 Generic_Complex_Arrays -- G.3.2 Generic_Complex_Elementary_Functions -- G.1.2 Generic_Complex_Types -- G.1.1 Generic_Elementary_Functions -- A.5.1 Generic_Real_Arrays -- G.3.1 Real_Arrays -- G.3.1 Streams -- 13.13.1 Storage -- 13.13.1 Bounded -- 13.13.1 Strings -- A.4.1 Equal_Case_Insensitive -- A.4.10 Hash -- A.4.9 Hash_Case_Insensitive -- A.4.9 Less_Case_Insensitive -- A.4.10 Maps -- A.4.2 Constants -- A.4.6 UTF_Encoding -- A.4.11 Conversions -- A.4.11 Strings -- A.4.11 Wide_Strings -- A.4.11 Wide_Wide_Strings -- A.4.11 Wide_Equal_Case_Insensitive -- A.4.7 Wide_Hash -- A.4.7 Wide_Hash_Case_Insensitive -- A.4.7 Wide_Wide_Equal_Case_Insensitive -- A.4.8 Wide_Wide_Hash -- A.4.8 Wide_Wide_Hash_Case_Insensitive -- A.4.8 Unchecked_Conversion -- 13.9 Unchecked_Deallocate_Subpool -- 13.11.5 Unchecked_Deallocation -- 13.11.2 Wide_Characters -- A.3.1 Handling -- A.3.5 Wide_Wide_Characters -- A.3.1 Handling -- A.3.6 Interfaces -- B.2 C -- B.3 Fortran -- B.5 System -- 13.7 Atomic_Operations -- C.6.1 Arithmetic -- C.6.4 Exchange -- C.6.2 Test_And_Set -- C.6.2 Storage_Elements -- 13.7.1 Storage_Pools -- 13.11 ----------------- The following units are not Pure and need a Global specification of Global => in out synchronized: ----------------- [Ada] Asynchronous_Task_Control -- D.11 Calendar -- 9.6 Arithmetic -- 9.6.1 Formatting -- 9.6.1 Time_Zones -- 9.6.1 Command_Line -- A.15 Complex_Text_IO -- G.1.3 [Containers] Bounded_Indefinite_Holders -- A.18.32 Bounded_Priority_Queues -- A.18.31 Bounded_Synchronized_Queues -- A.18.29 Doubly_Linked_Lists -- A.18.3 Hashed_Maps -- A.18.5 Hashed_Sets -- A.18.8 Indefinite_Doubly_Linked_Lists -- A.18.12 Indefinite_Hashed_Maps -- A.18.13 Indefinite_Hashed_Sets -- A.18.15 Indefinite_Holders -- A.18.18 Indefinite_Multiway_Trees -- A.18.17 Indefinite_Ordered_Maps -- A.18.14 Indefinite_Ordered_Sets -- A.18.16 Indefinite_Vectors -- A.18.11Standard (...continued) Multiway_Trees -- A.18.10 Ordered_Maps -- A.18.6 Ordered_Sets -- A.18.9 Unbounded_Priority_Queues -- A.18.30 Unbounded_Synchronized_Queues -- A.18.28 Vectors -- A.18.2 Direct_IO -- A.8.4 Directories -- A.16 Hierarchical_File_Names -- A.16.1 Information -- A.16 Dispatching -- D.2.1 EDF -- D.2.6 Non_Preemptive -- D.2.4 Round_Robin -- D.2.5 Dynamic_Priorities -- D.5.1 Environment_Variables -- A.17 Exceptions -- 11.4.1 Execution_Time -- D.14 Group_Budgets -- D.14.2 Interrupts -- D.14.3 Timers -- D.14.1 Float_Text_IO -- A.10.9 Float_Wide_Text_IO -- A.11 Float_Wide_Wide_Text_IO -- A.11 Integer_Text_IO -- A.10.8 Integer_Wide_Text_IO -- A.11 Integer_Wide_Wide_Text_IO -- A.11 Interrupts -- C.3.2 Names -- C.3.2 [Numerics] Big_Integers -- A.5.6 Big_Reals -- A.5.7 Discrete_Random -- A.5.2 Float_Random -- A.5.2 Real_Time -- D.8 Timing_Events -- D.15 Sequential_IO -- A.8.1 Storage_IO -- A.9 [Streams] Stream_IO -- A.12.1 [Storage] Unbounded -- 13.13.1 [Strings] Bounded -- A.4.4 Equal_Case_Insensitive -- A.4.10 Hash -- A.4.9 Hash_Case_Insensitive -- A.4.9 Less_Case_Insensitive -- A.4.10 Fixed -- A.4.3 Equal_Case_Insensitive -- A.4.10 Hash -- A.4.9 Hash_Case_Insensitive -- A.4.9 Less_Case_Insensitive -- A.4.10 Unbounded -- A.4.5 Equal_Case_Insensitive -- A.4.10 Hash -- A.4.9 Hash_Case_Insensitive -- A.4.9 Less_Case_Insensitive -- A.4.10 Wide_Bounded -- A.4.7 Wide_Equal_Case_Insensitive -- A.4.7 Wide_Hash -- A.4.7 Wide_Hash_Case_Insensitive -- A.4.7 Wide_Fixed -- A.4.7 Wide_Equal_Case_Insensitive -- A.4.7 Wide_Hash -- A.4.7 Wide_Hash_Case_Insensitive -- A.4.7 Wide_Maps -- A.4.7 Wide_Constants -- A.4.7 Wide_Unbounded -- A.4.7 Wide_Equal_Case_Insensitive -- A.4.7 Wide_Hash -- A.4.7 Wide_Hash_Case_Insensitive -- A.4.7 Wide_Wide_Bounded -- A.4.8 Wide_Wide_Equal_Case_Insensitive -- A.4.8 Wide_Wide_Hash -- A.4.8 Wide_Wide_Hash_Case_Insensitive -- A.4.8 Wide_Wide_Fixed -- A.4.8 Wide_Wide_Equal_Case_Insensitive -- A.4.8 Wide_Wide_Hash -- A.4.8 Wide_Wide_Hash_Case_Insensitive -- A.4.8 Wide_Wide_Maps -- A.4.8 Wide_Wide_Constants -- A.4.8 Wide_Wide_Unbounded -- A.4.8 Wide_Wide_Equal_Case_Insensitive -- A.4.8 Wide_Wide_Hash -- A.4.8 Wide_Wide_Hash_Case_Insensitive -- A.4.8 Synchronous_Barriers -- D.10.1 Synchronous_Task_Control -- D.10 EDF -- D.10 Tags -- 3.9 Generic_Dispatching_Constructor -- 3.9 Task_Attributes -- C.7.2 Task_Identification -- C.7.1 Task_Termination -- C.7.3 Text_IO -- A.10.1 Bounded_IO -- A.10.11 Complex_IO -- G.1.3 Editing -- F.3.3 Text_Streams -- A.12.2 Unbounded_IO -- A.10.12 Unchecked_Deallocate_Subpool -- 13.11.5 Unchecked_Deallocation -- 13.11.2 Wide_Command_Line -- A.15.1 Wide_Directories -- A.16.2 Wide_Environment_Variables -- A.17.1 Wide_Text_IO -- A.11 Complex_IO -- G.1.4 Editing -- F.3.4 Text_Streams -- A.12.3 Wide_Bounded_IO -- A.11 Wide_Unbounded_IO -- A.11 Wide_Wide_Text_IO -- A.11 Complex_IO -- G.1.5 Editing -- F.3.5 Text_Streams -- A.12.4 Wide_Wide_Bounded_IO -- A.11 Wide_Wide_Unbounded_IO -- A.11 Wide_Wide_Command_Line -- A.15.1 Wide_Wide_Directories -- A.16.2 Wide_Wide_Environment_Variables -- A.17.1 [Interfaces] [C] Pointers -- B.3.2 Strings -- B.3.1 COBOL -- B.4 [System] Address_To_Access_Conversions -- 13.7.2 Machine_Code -- 13.8 Multiprocessors -- D.16 Dispatching_Domains -- D.16.1 RPC -- E.5 [Storage_Pools] Subpools -- 13.11.4 !discussion The rules given in RM A(3/5-3.1/4) ensure that any globals referenced by language-defined packages are synchronized, except in the special case of the files identified by Current_Input and Current_Output. For these, as proposed above, we will specify the side effects using an appropriate mode with group designator "all". Also, for cases where a parameter mode of IN is used for an operand that clearly is associated with updatable state, a Global aspect of the form OVERRIDING IN OUT Param will be used to capture the fact that some potentially non-synchronized state is being updated that is designated by the given Param. See the !proposal for more discussion and rationale. !corrigendum 3.9(6/2) @drepl @xcode<@b Ada.Tags @b @b Preelaborate(Tags); @b Tag @b; @b Preelaborable_Initialization(Tag);> @dby @xcode<@b Ada.Tags @b Preelaborate, Nonblocking, Global =@> @b @b @b Tag @b; @b Preelaborable_Initialization(Tag);> !corrigendum 3.9(18.2/3) @drepl @xcode<@b @b T (<@>) @b; @b Parameters (<@>) @b; @b Constructor (Params : @b Parameters) @b T @b; @b Ada.Tags.Generic_Dispatching_Constructor (The_Tag : Tag; Params : @b Parameters) @b T'Class @b Convention =@> Intrinsic; @b Preelaborate(Generic_Dispatching_Constructor);> @dby @xcode<@b @b T (<@>) @b; @b Parameters (<@>) @b; @b Constructor (Params : @b Parameters) @b T @b; @b Ada.Tags.Generic_Dispatching_Constructor (The_Tag : Tag; Params : @b Parameters) @b T'Class @b Preelaborate, Convention =@> Intrinsic, Nonblocking, Global =@> @b;> !corrigendum 9.6(10) @drepl @xcode< @b Ada.Calendar @b @b Time @b;> @dby @xcode< @b Ada.Calendar @b Nonblocking, Global =@> @b @b @b Time @b;> !corrigendum 9.6.1(2/2) @drepl @xcode<@b Ada.Calendar.Time_Zones @b> @dby @xcode<@b Ada.Calendar.Time_Zones @b Nonblocking, Global =@> @b @b> !corrigendum 9.6.1(8/2) @drepl @xcode< @b Ada.Calendar.Arithmetic @b> @dby @xcode< @b Ada.Calendar.Arithmetic @b Nonblocking, Global =@> @b @b> !corrigendum 9.6.1(15/2) @drepl @xcode< @b Ada.Calendar.Time_Zones; @b Ada.Calendar.Formatting @b> @dby @xcode< @b Ada.Calendar.Time_Zones; @b Ada.Calendar.Formatting @b Nonblocking, Global =@> @b @b> !corrigendum 11.4.1(2/2) @drepl @xcode<@b Ada.Streams; @b Ada.Exceptions @b @b Preelaborate(Exceptions); @b Exception_Id @b; @b Preelaborable_Initialization(Exception_Id); Null_Id : @b Exception_Id; @b Exception_Name(Id : Exception_Id) @b String; @b Wide_Exception_Name(Id : Exception_Id) @b Wide_String; @b Wide_Wide_Exception_Name(Id : Exception_Id) @b Wide_Wide_String;> @dby @xcode<@b Ada.Streams; @b Ada.Exceptions @b Preelaborate, Nonblocking, Global =@> @b @b @b Exception_Id @b; @b Preelaborable_Initialization(Exception_Id); Null_Id : @b Exception_Id; @b Exception_Name(Id : Exception_Id) @b String; @b Wide_Exception_Name(Id : Exception_Id) @b Wide_String; @b Wide_Wide_Exception_Name(Id : Exception_Id) @b Wide_Wide_String;> !corrigendum 13.7.2(2) @drepl @xcode<@b @b Object(<@>) @b; @b System.Address_To_Access_Conversions @b @b Preelaborate(Address_To_Access_Conversions);> @dby @xcode<@b @b Object(<@>) @b; @b System.Address_To_Access_Conversions @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum 13.11.2(3/3) @drepl @xcode<@b @b Object(<@>) @b; @b Name @b Object; @b Ada.Unchecked_Deallocation(X : @b Name) @b Convention =@> Intrinsic; @b Preelaborate(Ada.Unchecked_Deallocation);> @dby @xcode<@b @b Object(<@>) @b; @b Name @b Object; @b Ada.Unchecked_Deallocation(X : @b Name) @b Preelaborate, Nonblocking, Convention =@> Intrinsic, Global =@> @b;> !corrigendum 13.11.4(3/3) @drepl @xcode<@b System.Storage_Pools.Subpools @b @b Preelaborate (Subpools);> @dby @xcode<@b System.Storage_Pools.Subpools @b Preelaborate, Global =@> @b @b> !corrigendum 13.11.4(10/3) @drepl @xcode< @b Set_Pool_of_Subpool ( Subpool : @b Subpool_Handle; To : @b Root_Storage_Pool_With_Subpools'Class);> @dby @xcode< @b Set_Pool_of_Subpool ( Subpool : @b Subpool_Handle; To : @b Root_Storage_Pool_With_Subpools'Class) @b Global =@> @b Subpool;> !corrigendum 13.11.4(11/3) @drepl @xcode< @b Allocate_From_Subpool ( Pool : @b Root_Storage_Pool_With_Subpools; Storage_Address : @b Address; Size_In_Storage_Elements : @b Storage_Elements.Storage_Count; Alignment : @b Storage_Elements.Storage_Count; Subpool : @b Subpool_Handle) @b @b Pre'Class =@> Pool_of_Subpool(Subpool) = Pool'Access;> @dby @xcode< @b Allocate_From_Subpool ( Pool : @b Root_Storage_Pool_With_Subpools; Storage_Address : @b Address; Size_In_Storage_Elements : @b Storage_Elements.Storage_Count; Alignment : @b Storage_Elements.Storage_Count; Subpool : @b Subpool_Handle) @b @b Pre'Class =@> Pool_of_Subpool(Subpool) = Pool'Access, Global =@> @b Subpool;> !corrigendum 13.11.5(3/3) !comment see the AARM note for why this is "in out all". @drepl @xcode<@b System.Storage_Pools.Subpools; @b Ada.Unchecked_Deallocate_Subpool (Subpool : @b System.Storage_Pools.Subpools.Subpool_Handle);> @dby @xcode<@b System.Storage_Pools.Subpools; @b Ada.Unchecked_Deallocate_Subpool (Subpool : @b System.Storage_Pools.Subpools.Subpool_Handle) @b Global =@> @b;> !corrigendum 13.13.1(9) @dinsa The Write operation appends Item to the specified stream. @dinss See the conflict file for the text. !corrigendum A.4.3(5) @drepl @xcode<@b Ada.Strings.Maps; @b Ada.Strings.Fixed @b @b Preelaborate(Fixed);> @dby @xcode<@b Ada.Strings.Maps; @b Ada.Strings.Fixed @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum A.4.4(3) @drepl @xcode<@b Ada.Strings.Maps; @b Ada.Strings.Bounded @b @b Preelaborate(Bounded);> @dby @xcode<@b Ada.Strings.Maps; @b Ada.Strings.Bounded @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum A.4.5(3) @drepl @xcode<@b Ada.Strings.Maps; @b Ada.Strings.Unbounded @b @b Preelaborate(Unbounded);> @dby @xcode<@b Ada.Strings.Maps; @b Ada.Strings.Unbounded @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum A.4.7(3) @drepl @xcode<@b Ada.Strings.Wide_Maps @b @b Preelaborate(Wide_Maps);> @dby @xcode<@b Ada.Strings.Wide_Maps @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum A.4.7(46.2/2) @drepl @fa Pure is replaced by pragma Preelaborate in Strings.Wide_Maps.Wide_Constants. @dby @fa Pure is replaced by aspects @fc<@b Preelaborate, Nonblocking, Global =@> @b> in Strings.Wide_Maps.Wide_Constants. !corrigendum A.4.8(3/2) @drepl @xcode<@b Ada.Strings.Wide_Wide_Maps @b @b Preelaborate(Wide_Wide_Maps);> @dby @xcode<@b Ada.Strings.Wide_Wide_Maps @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum A.4.8(50/2) @drepl @fa Pure is replaced by pragma Preelaborate in Strings.Wide_Maps.Wide_Constants. @dby @fa Pure is replaced by aspects @fc<@b Preelaborate, Nonblocking, Global =@> @b> in Strings.Wide_Wide_Maps.Wide_Wide_Constants. !corrigendum A.4.9(7/3) @drepl @xcode<@b Ada.Containers; @b @b Bounded @b @b Ada.Strings.Bounded.Generic_Bounded_Length (<@>); @b Ada.Strings.Bounded.Hash (Key : Bounded.Bounded_String) @b Containers.Hash_Type; @b Preelaborate(Ada.Strings.Bounded.Hash);> @dby @xcode<@b Ada.Containers; @b @b Bounded @b @b Ada.Strings.Bounded.Generic_Bounded_Length (<@>); @b Ada.Strings.Bounded.Hash (Key : Bounded.Bounded_String) @b Containers.Hash_Type @b Preelaborate, Nonblocking, Global =@> @b;> !corrigendum A.4.9(10/3) @drepl @xcode<@b Ada.Containers; @b Ada.Strings.Unbounded.Hash (Key : Unbounded_String) @b Containers.Hash_Type; @b Preelaborate(Ada.Strings.Unbounded.Hash);> @dby @xcode<@b Ada.Containers; @b Ada.Strings.Unbounded.Hash (Key : Unbounded_String) @b Containers.Hash_Type @b Preelaborate, Nonblocking, Global =@> @b;> !corrigendum A.4.9(11.7/3) @drepl @xcode<@b Ada.Containers; @b @b Bounded @b @b Ada.Strings.Bounded.Generic_Bounded_Length (<@>); @b Ada.Strings.Bounded.Hash_Case_Insensitive (Key : Bounded.Bounded_String) @b Containers.Hash_Type; @b Preelaborate(Ada.Strings.Bounded.Hash_Case_Insensitive);> @dby @xcode<@b Ada.Containers; @b @b Bounded @b @b Ada.Strings.Bounded.Generic_Bounded_Length (<@>); @b Ada.Strings.Bounded.Hash_Case_Insensitive (Key : Bounded.Bounded_String) @b Containers.Hash_Type @b Preelaborate, Nonblocking, Global =@> @b;> !corrigendum A.4.9(11.10/3) @drepl @xcode<@b Ada.Containers; @b Ada.Strings.Unbounded.Hash_Case_Insensitive (Key : Unbounded_String) @b Containers.Hash_Type; @b Preelaborate(Ada.Strings.Unbounded.Hash_Case_Insensitive);> @dby @xcode<@b Ada.Containers; @b Ada.Strings.Unbounded.Hash_Case_Insensitive (Key : Unbounded_String) @b Containers.Hash_Type @b Preelaborate, Nonblocking, Global =@> @b;> !corrigendum A.4.10(7/3) @drepl @xcode<@b @b Bounded @b @b Ada.Strings.Bounded.Generic_Bounded_Length (<@>); @b Ada.Strings.Bounded.Equal_Case_Insensitive (Left, Right : Bounded.Bounded_String) @b Boolean; @b Preelaborate(Ada.Strings.Bounded.Equal_Case_Insensitive);> @dby @xcode<@b @b Bounded @b @b Ada.Strings.Bounded.Generic_Bounded_Length (<@>); @b Ada.Strings.Bounded.Equal_Case_Insensitive (Left, Right : Bounded.Bounded_String) @b Boolean @b Preelaborate, Nonblocking, Global =@> @b;> !corrigendum A.4.10(10/3) @drepl @xcode<@b Ada.Strings.Unbounded.Equal_Case_Insensitive (Left, Right : Unbounded_String) @b Boolean; @b Preelaborate(Ada.Strings.Unbounded.Equal_Case_Insensitive);> @dby @xcode<@b Ada.Strings.Unbounded.Equal_Case_Insensitive (Left, Right : Unbounded_String) @b Boolean @b Preelaborate, Nonblocking, Global =@> @b;> !corrigendum A.4.10(18/3) @drepl @xcode<@b @b Bounded @b @b Ada.Strings.Bounded.Generic_Bounded_Length (<@>); @b Ada.Strings.Bounded.Less_Case_Insensitive (Left, Right : Bounded.Bounded_String) @b Boolean; @b Preelaborate(Ada.Strings.Bounded.Less_Case_Insensitive);> @dby @xcode<@b @b Bounded @b @b Ada.Strings.Bounded.Generic_Bounded_Length (<@>); @b Ada.Strings.Bounded.Less_Case_Insensitive (Left, Right : Bounded.Bounded_String) @b Boolean @b Preelaborate, Nonblocking, Global =@> @b;> !corrigendum A.4.10(21/3) @drepl @xcode<@b Ada.Strings.Unbounded.Less_Case_Insensitive (Left, Right : Unbounded_String) @b Boolean; @b Preelaborate(Ada.Strings.Unbounded.Less_Case_Insensitive);> @dby @xcode<@b Ada.Strings.Unbounded.Less_Case_Insensitive (Left, Right : Unbounded_String) @b Boolean @b Preelaborate, Nonblocking, Global =@> @b;> !corrigendum A.5.2(5) @drepl @xcode<@b Ada.Numerics.Float_Random @b> @dby @xcode<@b Ada.Numerics.Float_Random @b Global =@> @b @b> !comment A.5.2(8) is not provided here. !comment A.5.2(9) is not provided here. !comment A.5.2(12) is not provided here. !corrigendum A.5.2(17) @drepl @xcode<@b @b Result_Subtype @b (<@>); @b Ada.Numerics.Discrete_Random @b> @dby @xcode<@b @b Result_Subtype @b (<@>); @b Ada.Numerics.Discrete_Random @b Global =@> @b @b> !corrigendum A.5.2(20) @drepl @xcode< @b Random (Gen : Generator) @b Result_Subtype;> @dby @xcode< @b Random (Gen : Generator) @b Result_Subtype @b Global =@> @b Gen;> @xcode< @b Random (Gen : Generator; First : Result_Subtype; Last : Result_Subtype) @b Result_Subtype @b Post =@> Random'Result @b First .. Last, Global =@> @b Gen;> !comment A.5.2(21) is not provided here. !comment A.5.2(24) is not provided here. !corrigendum A.5.6(0) @dinsc See the conflict file for the changes. !corrigendum A.5.7(0) @dinsc See the conflict file for the changes. !comment A.8.1(2) is not provided here. !comment A.8.1(10.1/4) is not provided here. !comment A.8.1(12) is not provided here. !comment A.8.4(2) is not provided here. !comment A.8.4(10.1/4) is not provided here. !comment A.8.4(12) is not provided here. !comment A.8.4(13) is not provided here. !comment A.8.4(14) is not provided here. !comment A.9(3) is not provided here. !comment A.10.1(2) not provided here. !comment A.10.1(21/1) not provided here. !comment A.10.1(23) not provided here. !comment A.10.1(24) not provided here. !comment A.10.1(25) not provided here. !comment A.10.1(26) not provided here. !comment A.10.1(28) not provided here. !comment A.10.1(29) not provided here. !comment A.10.1(30) not provided here. !comment A.10.1(31) not provided here. !comment A.10.1(32) not provided here. !comment A.10.1(35) not provided here. !comment A.10.1(36) not provided here. !comment A.10.1(37) not provided here. !comment A.10.1(38) not provided here. !comment A.10.1(39) not provided here. !comment A.10.1(41) not provided here. !comment A.10.1(42) not provided here. !comment A.10.1(43) not provided here. !comment A.10.1(44) not provided here. !comment A.10.1(45) not provided here. !comment A.10.1(43) not provided here. !comment A.10.1(47) not provided here. !comment A.10.1(48) not provided here. !comment A.10.1(49) not provided here. !comment A.10.1(49.1/2) not provided here. !comment A.10.1(50) not provided here. !corrigendum A.10.1(54) @drepl @xcode< @b Get(File : @b File_Type; Item : @b Num; Width : @b Field := 0); @b Get(Item : @b Num; Width : @b Field := 0);> @dby @xcode< @b Get(File : @b File_Type; Item : @b Num; Width : @b Field := 0) @b Global =@> @b File; @b Get(Item : @b Num; Width : @b Field := 0) @b Global =@> @b;> !corrigendum A.10.1(55) @drepl @xcode< @b Put(File : @b File_Type; Item : @b Num; Width : @b Field := Default_Width; Base : @b Number_Base := Default_Base); @b Put(Item : @b Num; Width : @b Field := Default_Width; Base : @b Number_Base := Default_Base); @b Get(From : @b String; Item : @b Num; Last : @b Positive); @b Put(To : @b String; Item : @b Num; Base : @b Number_Base := Default_Base);> @dby @xcode< @b Put(File : @b File_Type; Item : @b Num; Width : @b Field := Default_Width; Base : @b Number_Base := Default_Base) @b Global =@> @b File; @b Put(Item : @b Num; Width : @b Field := Default_Width; Base : @b Number_Base := Default_Base) @b Global =@> @b; @b Get(From : @b String; Item : @b Num; Last : @b Positive) @b Nonblocking; @b Put(To : @b String; Item : @b Num; Base : @b Number_Base := Default_Base) @b Nonblocking;> !corrigendum A.10.1(59) @drepl @xcode< @b Get(File : @b File_Type; Item : @b Num; Width : @b Field := 0); @b Get(Item : @b Num; Width : @b Field := 0);> @dby @xcode< @b Get(File : @b File_Type; Item : @b Num; Width : @b Field := 0) @b Global =@> @b File; @b Get(Item : @b Num; Width : @b Field := 0) @b Global =@> @b;> !corrigendum A.10.1(60) @drepl @xcode< @b Put(File : @b File_Type; Item : @b Num; Width : @b Field := Default_Width; Base : @b Number_Base := Default_Base); @b Put(Item : @b Num; Width : @b Field := Default_Width; Base : @b Number_Base := Default_Base); @b Get(From : @b String; Item : @b Num; Last : @b Positive); @b Put(To : @b String; Item : @b Num; Base : @b Number_Base := Default_Base);> @dby @xcode< @b Put(File : @b File_Type; Item : @b Num; Width : @b Field := Default_Width; Base : @b Number_Base := Default_Base) @b Global =@> @b File; @b Put(Item : @b Num; Width : @b Field := Default_Width; Base : @b Number_Base := Default_Base) @b Global =@> @b; @b Get(From : @b String; Item : @b Num; Last : @b Positive) @b Nonblocking; @b Put(To : @b String; Item : @b Num; Base : @b Number_Base := Default_Base) @b Nonblocking;> !corrigendum A.10.1(65) @drepl @xcode< @b Get(File : @b File_Type; Item : @b Num; Width : @b Field := 0); @b Get(Item : @b Num; Width : @b Field := 0);> @dby @xcode< @b Get(File : @b File_Type; Item : @b Num; Width : @b Field := 0) @b Global =@> @b File; @b Get(Item : @b Num; Width : @b Field := 0) @b Global =@> @b;> !corrigendum A.10.1(66) @drepl @xcode< @b Put(File : @b File_Type; Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp); @b Put(Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp);> @dby @xcode< @b Put(File : @b File_Type; Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp) @b Global =@> @b File; @b Put(Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp) @b Global =@> @b;> !corrigendum A.10.1(70) @drepl @xcode< @b Get(File : @b File_Type; Item : @b Num; Width : @b Field := 0); @b Get(Item : @b Num; Width : @b Field := 0);> @dby @xcode< @b Get(File : @b File_Type; Item : @b Num; Width : @b Field := 0) @b Global =@> @b File; @b Get(Item : @b Num; Width : @b Field := 0) @b Global =@> @b;> !corrigendum A.10.1(71) @drepl @xcode< @b Put(File : @b File_Type; Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp); @b Put(Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp);> @dby @xcode< @b Put(File : @b File_Type; Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp) @b Global =@> @b File; @b Put(Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp) @b Global =@> @b;> !corrigendum A.10.1(75) @drepl @xcode< @b Get(File : @b File_Type; Item : @b Num; Width : @b Field := 0); @b Get(Item : @b Num; Width : @b Field := 0);> @dby @xcode< @b Get(File : @b File_Type; Item : @b Num; Width : @b Field := 0) @b Global =@> @b File; @b Get(Item : @b Num; Width : @b Field := 0) @b Global =@> @b;> !corrigendum A.10.1(76) @drepl @xcode< @b Put(File : @b File_Type; Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp); @b Put(Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp);> @dby @xcode< @b Put(File : @b File_Type; Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp) @b Global =@> @b File; @b Put(Item : @b Num; Fore : @b Field := Default_Fore; Aft : @b Field := Default_Aft; Exp : @b Field := Default_Exp) @b Global =@> @b;> !corrigendum A.10.1(81) @drepl @xcode< @b Get(File : @b File_Type; Item : @b Enum); @b Get(Item : @b Enum);> @dby @xcode< @b Get(File : @b File_Type; Item : @b Enum) @b Global =@> @b File; @b Get(Item : @b Enum) @b Global =@> @b;> !corrigendum A.10.1(82) @drepl @xcode< @b Put(File : @b File_Type; Item : @b Enum; Width : @b Field := Default_Width; Set : @b Type_Set := Default_Setting); @b Put(Item : @b Enum; Width : @b Field := Default_Width; Set : @b Type_Set := Default_Setting);> @dby @xcode< @b Put(File : @b File_Type; Item : @b Enum; Width : @b Field := Default_Width; Set : @b Type_Set := Default_Setting) @b Global =@> @b File; @b Put(Item : @b Enum; Width : @b Field := Default_Width; Set : @b Type_Set := Default_Setting) @b Global =@> @b;> !comment A.10.11(3/2) is not provided here. !comment A.10.12(3/2) is not provided here. !comment A.12.1(3/3) is not provided here. !comment A.12.1(15) is not provided here. !comment A.12.1(16) is not provided here. !comment A.12.1(18) is not provided here. !comment A.12.1(19) is not provided here. !comment A.12.1(22) is not provided here. !comment A.12.2(3) is not provided here. !comment A.12.3(3) is not provided here. !comment A.12.4(3/2) is not provided here. !corrigendum A.15(3) @drepl @xcode<@b Ada.Command_Line @b @b Preelaborate(Command_Line);> @dby @xcode<@b Ada.Command_Line @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum A.16(3/2) @drepl @xcode<@b Ada.IO_Exceptions; @b Ada.Calendar; @b Ada.Directories @b> @dby @xcode<@b Ada.IO_Exceptions; @b Ada.Calendar; @b Ada.Directories @b Global =@> @b @b> !corrigendum A.16.1(3/3) @drepl @xcode<@b Ada.Directories.Hierarchical_File_Names @b> @dby @xcode<@b Ada.Directories.Hierarchical_File_Names @b Nonblocking, Global =@> @b @b> !corrigendum A.17(3/2) @drepl @xcode<@b Ada.Environment_Variables @b @b Preelaborate(Environment_Variables);> @dby @xcode<@b Ada.Environment_Variables @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum B.3.1(3) @drepl @xcode<@b Interfaces.C.Strings @b @b Preelaborate(Strings);> @dby @xcode<@b Interfaces.C.Strings @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum B.3.2(4) @drepl @xcode<@b @b Index @b (<@>); @b Element @b; @b Element_Array @b (Index @b <@>) @b Element; Default_Terminator : Element; @b Interfaces.C.Pointers @b @b Preelaborate(Pointers);> @dby @xcode<@b @b Index @b (<@>); @b Element @b; @b Element_Array @b (Index @b <@>) @b Element; Default_Terminator : Element; @b Interfaces.C.Pointers @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum B.4(7) @drepl @xcode<@b Interfaces.COBOL @b @b Preelaborate(COBOL);> @dby @xcode<@b Interfaces.COBOL @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum C.3.2(2/3) @drepl @xcode<@b System; @b System.Multiprocessors; @b Ada.Interrupts @b @b Interrupt_Id @b @ft<@i>; @b Parameterless_Handler @b @b;> @dby @xcode<@b System; @b System.Multiprocessors; @b Ada.Interrupts @b Nonblocking, Global =@> @b @b @b Interrupt_Id @b @ft<@i>; @b Parameterless_Handler @b @b @b Nonblocking =@> False;> !corrigendum C.3.2(12) @drepl @xcode<@b Ada.Interrupts.Names @b @ft<@i> : @b Interrupt_Id := @ft<@i>; . . . @ft<@i> : @b Interrupt_Id := @ft<@i>; @b Ada.Interrupts.Names;> @dby @xcode<@b Ada.Interrupts.Names @b Nonblocking, Global =@> @b @b @ft<@i> : @b Interrupt_Id := @ft<@i>; . . . @ft<@i> : @b Interrupt_Id := @ft<@i>; @b Ada.Interrupts.Names;> !corrigendum C.7.1(2/2) @drepl @xcode<@b Ada.Task_Identification @b @b Preelaborate(Task_Identification); @b Task_Id @b; @b Preelaborable_Initialization (Task_Id); Null_Task_Id : @b Task_Id; @b "=" (Left, Right : Task_Id) @b Boolean;> @dby @xcode<@b Ada.Task_Identification @b Preelaborate, Nonblocking, Global =@> @b @b @b Task_Id @b; @b Preelaborable_Initialization (Task_Id); Null_Task_Id : @b Task_Id; @b "=" (Left, Right : Task_Id) @b Boolean;> !corrigendum C.7.2(2) @drepl @xcode<@b Ada.Task_Identification; @b Ada.Task_Identification; @b @b Attribute @b; Initial_Value : @b Attribute; @b Ada.Task_Attributes @b> @dby @xcode<@b Ada.Task_Identification; @b Ada.Task_Identification; @b @b Attribute @b; Initial_Value : @b Attribute; @b Ada.Task_Attributes @b Nonblocking, Global =@> @b @b> !corrigendum C.7.3(2/2) @drepl @xcode<@b Ada.Task_Identification; @b Ada.Exceptions; @b Ada.Task_Termination @b @b Preelaborate(Task_Termination);> @dby @xcode<@b Ada.Task_Identification; @b Ada.Exceptions; @b Ada.Task_Termination @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum D.2.1(1.2/3) @drepl @xcode<@b Ada.Dispatching @b @b Preelaborate(Dispatching);> @dby @xcode<@b Ada.Dispatching @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum D.2.4(2.2/3) @drepl @xcode<@b Ada.Dispatching.Non_Preemptive @b @b Preelaborate(Non_Preemptive); @b Yield_To_Higher; @b Yield_To_Same_Or_Higher @b Yield; @b Ada.Dispatching.Non_Preemptive;> @dby @xcode<@b Ada.Dispatching.Non_Preemptive @b Preelaborate, Nonblocking, Global =@> @b @b @b Yield_To_Higher; @b Yield_To_Same_Or_Higher @b Yield; @b Ada.Dispatching.Non_Preemptive;> !corrigendum D.2.5(4/2) @drepl @xcode<@b System; @b Ada.Real_Time; @b Ada.Dispatching.Round_Robin @b Default_Quantum : @b Ada.Real_Time.Time_Span := @ft<@i>; @b Set_Quantum (Pri : @b System.Priority; Quantum : @b Ada.Real_Time.Time_Span); @b Set_Quantum (Low, High : @b System.Priority; Quantum : @b Ada.Real_Time.Time_Span); @b Actual_Quantum (Pri : System.Priority) @b Ada.Real_Time.Time_Span; @b Is_Round_Robin (Pri : System.Priority) @b Boolean; @b Ada.Dispatching.Round_Robin;> @dby @xcode<@b System; @b Ada.Real_Time; @b Ada.Dispatching.Round_Robin @b Nonblocking, Global =@> @b @b Default_Quantum : @b Ada.Real_Time.Time_Span := @ft<@i>; @b Set_Quantum (Pri : @b System.Priority; Quantum : @b Ada.Real_Time.Time_Span); @b Set_Quantum (Low, High : @b System.Priority; Quantum : @b Ada.Real_Time.Time_Span); @b Actual_Quantum (Pri : System.Priority) @b Ada.Real_Time.Time_Span; @b Is_Round_Robin (Pri : System.Priority) @b Boolean; @b Ada.Dispatching.Round_Robin;> !corrigendum D.2.6(9/2) @drepl @xcode<@b Ada.Real_Time; @b Ada.Task_Identification; @b Ada.Dispatching.EDF @b @b Deadline @b Ada.Real_Time.Time; Default_Deadline : @b Deadline := Ada.Real_Time.Time_Last; @b Set_Deadline (D : @b Deadline; T : @b Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task); @b Delay_Until_And_Set_Deadline ( Delay_Until_Time : @b Ada.Real_Time.Time; Deadline_Offset : @b Ada.Real_Time.Time_Span); @b Get_Deadline (T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task) @b Deadline; @b Ada.Dispatching.EDF;> @dby @xcode<@b Ada.Real_Time; @b Ada.Task_Identification; @b Ada.Dispatching.EDF @b Nonblocking, Global =@> @b @b @b Deadline @b Ada.Real_Time.Time; Default_Deadline : @b Deadline := Ada.Real_Time.Time_Last; @b Set_Deadline (D : @b Deadline; T : @b Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task); @b Delay_Until_And_Set_Deadline ( Delay_Until_Time : @b Ada.Real_Time.Time; Deadline_Offset : @b Ada.Real_Time.Time_Span) @b Nonblocking =@> False; @b Get_Deadline (T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task) @b Deadline; @b Ada.Dispatching.EDF;> !corrigendum D.5.1(3/2) @drepl @xcode<@b System; @b Ada.Task_Identification; @ft<@i<-- See C.7.1>> @b Ada.Dynamic_Priorities @b @b Preelaborate(Dynamic_Priorities);> @dby @xcode<@b System; @b Ada.Task_Identification; @ft<@i<-- See C.7.1>> @b Ada.Dynamic_Priorities @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum D.8(3) @drepl @xcode<@b Ada.Real_Time @b> @dby @xcode<@b Ada.Real_Time @b Nonblocking, Global =@> @b @b> !corrigendum D.10(3/2) @drepl @xcode<@b Ada.Synchronous_Task_Control @b @b Preelaborate(Synchronous_Task_Control);> @dby @xcode<@b Ada.Synchronous_Task_Control @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum D.10(5.2/3) @drepl @xcode<@b Ada.Real_Time; @b Ada.Synchronous_Task_Control.EDF @b @b Suspend_Until_True_And_Set_Deadline (S : @b Suspension_Object; TS : @b Ada.Real_Time.Time_Span); @b Ada.Synchronous_Task_Control.EDF;> @dby @xcode<@b Ada.Real_Time; @b Ada.Synchronous_Task_Control.EDF @b Nonblocking, Global =@> @b @b @b Suspend_Until_True_And_Set_Deadline (S : @b Suspension_Object; TS : @b Ada.Real_Time.Time_Span) @b Nonblocking =@> False; @b Ada.Synchronous_Task_Control.EDF;> !corrigendum D.10.1(3/3) @drepl @xcode<@b Ada.Synchronous_Barriers @b @b Preelaborate(Synchronous_Barriers);> @dby @xcode<@b Ada.Synchronous_Barriers @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum D.11(3/2) @drepl @xcode<@b Ada.Task_Identification; @b Ada.Asynchronous_Task_Control @b @b Preelaborate(Asynchronous_Task_Control); @b Hold(T : @b Ada.Task_Identification.Task_Id); @b Continue(T : @b Ada.Task_Identification.Task_Id); @b Is_Held(T : Ada.Task_Identification.Task_Id) @b Boolean; @b Ada.Asynchronous_Task_Control;> @dby @xcode<@b Ada.Task_Identification; @b Ada.Asynchronous_Task_Control @b Preelaborate, Nonblocking, Global =@> @b @b @b Hold(T : @b Ada.Task_Identification.Task_Id); @b Continue(T : @b Ada.Task_Identification.Task_Id); @b Is_Held(T : Ada.Task_Identification.Task_Id) @b Boolean; @b Ada.Asynchronous_Task_Control;> !corrigendum D.14(3/2) @drepl @xcode<@b Ada.Task_Identification; @b Ada.Real_Time; @b Ada.Real_Time; @b Ada.Execution_Time @b> @dby @xcode<@b Ada.Task_Identification; @b Ada.Real_Time; @b Ada.Real_Time; @b Ada.Execution_Time @b Nonblocking, Global =@> @b @b> !corrigendum D.14.1(3/2) @drepl @xcode<@b System; @b Ada.Execution_Time.Timers @b> @dby @xcode<@b System; @b Ada.Execution_Time.Timers @b Nonblocking, Global =@> @b @b> !corrigendum D.14.2(3/3) @drepl @xcode<@b System; @b System.Multiprocessors; @b Ada.Execution_Time.Group_Budgets @b> @dby @xcode<@b System; @b System.Multiprocessors; @b Ada.Execution_Time.Group_Budgets @b Nonblocking, Global =@> @b @b> !corrigendum D.14.3(3/3) @drepl @xcode<@b Ada.Interrupts; @b Ada.Execution_Time.Interrupts @b @b Clock (Interrupt : Ada.Interrupts.Interrupt_Id) @b CPU_Time; @b Supported (Interrupt : Ada.Interrupts.Interrupt_Id) @b Boolean; @b Ada.Execution_Time.Interrupts;> @dby @xcode<@b Ada.Interrupts; @b Ada.Execution_Time.Interrupts @b Nonblocking, Global =@> @b @b @b Clock (Interrupt : Ada.Interrupts.Interrupt_Id) @b CPU_Time; @b Supported (Interrupt : Ada.Interrupts.Interrupt_Id) @b Boolean; @b Ada.Execution_Time.Interrupts;> !corrigendum D.15(3/2) @drepl @xcode<@b Ada.Real_Time.Timing_Events @b> @dby @xcode<@b Ada.Real_Time.Timing_Events @b Nonblocking, Global =@> @b @b> !corrigendum D.16(3/3) @drepl @xcode<@b System.Multiprocessors @b @b Preelaborate(Multiprocessors);> @dby @xcode<@b System.Multiprocessors @b Preelaborate, Nonblocking, Global =@> @b @b> !corrigendum D.16.1(3/3) @drepl @xcode<@b Ada.Real_Time; @b Ada.Task_Identification; @b System.Multiprocessors.Dispatching_Domains @b> @dby @xcode<@b Ada.Real_Time; @b Ada.Task_Identification; @b System.Multiprocessors.Dispatching_Domains @b Nonblocking, Global =@> @b @b> !corrigendum E.5(3) @drepl @xcode<@b Ada.Streams; -- @ft<@i> @b System.RPC @b> @dby @xcode<@b Ada.Streams; -- @ft<@i> @b System.RPC @b Nonblocking =@> False, Global =@> @b @b> !corrigendum F.3.3(3) @drepl @xcode<@b Ada.Text_IO.Editing @b> @dby @xcode<@b Ada.Text_IO.Editing @b Nonblocking, Global =@> @b @b> !corrigendum G.1.3(3) @drepl @xcode<@b Ada.Numerics.Generic_Complex_Types; @b @b Complex_Types @b @b Ada.Numerics.Generic_Complex_Types (<@>); @b Ada.Text_IO.Complex_IO @b> @dby @xcode<@b Ada.Numerics.Generic_Complex_Types; @b @b Complex_Types @b @b Ada.Numerics.Generic_Complex_Types (<@>); @b Ada.Text_IO.Complex_IO @b Global =@> @b @b> !ASIS No ASIS effect. !ACATS Test Unclear whether detailed testing is worthwhile, but some C-Tests that show that language-defined packages work in parallel operations when the default conflict checking policy is in effect would be valuable. !appendix From: Tucker Taft Sent: Tuesday, January 08, 2019 10:16 PM Here is a first attempt to indicate how we will specify the Global aspect of language-defined units. [This is version /01 of the AI - Editor.] No wording yet. **************************************************************** Summary of private mail between Tucker Taft, Randy Brukardt, and Steve Baird: Steve: I was only objecting to the statement in the !problem section This is not consistent with the requirement of RM A(3/5) that language-defined (generic) packages be reentrant. I don't see the inconsistency. I'm all in favor of this AI - I think there are very good arguments for it - but I don't buy the argument given in the !problem section. Specifically: A(3/5) is talking about a dynamic property: ... concurrent calls on any two (possibly the same) language-defined subprograms perform as specified, so long as ... I view this as a 100% dynamic semantics rule that is unaffected by what is specified for the Globals aspect of the subprograms in question; that (IMO) makes it tough to use this rule as justification for this AI. I certainly agree with the goal of this AI: we want to specify Globals aspects as precisely as possible in order to avoid disallowing things that don't need to be disallowed (and, perhaps for some compilers or tools, flagging thing that don't need to be flagged). Randy: > I suspect I might have forgotten about certain cases where we need > to include "& 'Global". I would guess that would be all of them. ;-) I've been assuming that generic units include all of their formal parameters in the Global for the package; individual operations could be more specific, but that's just too much work. The exception would be formal scalar types (which by definition cannot be blocking or use any globals). This AI needs to check all of the formals, because the editor doesn't want to do it alone. Randy: AI12-0112-1 handles all of the containers, including individual operations in many cases, so this AI doesn't need to mention them (other than that info). **************************************************************** From: Tucker Taft Sent: Tuesday, October 1, 2019 3:31 PM Here is an update to the AI defining the Global aspect for language-defined units. It incorporates the new "overriding" notion of the latest AI12-0240-6, and tries to address the issue of generic units more completely. [This is version /03 of the AI - Editor.] **************************************************************** From: Randy Brukardt Sent: Tuesday, October 1, 2019 7:03 PM You're still missing the note that AI12-0112-1 handles all of the container's Globals, including more specific ones when possible. You wouldn't want to list out all of the possibilities I came up with! - there's "null" (for pure navigation functions), the default of the package, "access ", some with specific formal parameters, and some combinations. The fact that this is not handled in this AI needs to be mentioned in this AI. **************************************************************** From: Randy Brukardt Sent: Tuesday, October 1, 2019 7:05 PM I don't think you addressed Steve's concerns, either (see the "summary of private mail" toward the end of the !appendix). ****************************************************************