Delay statements executed by the environment task AI-00464/05 1 88-05-23 BI WJ | !standard 09.06 (01) 88-05-23 AI-00464/05 !class binding interpretation 86-10-02 | !status approved by WG9/AJPO 88-02-05 | !status approved by Director, AJPO 88-02-05 | !status approved by WG9/Ada Board 87-12-07 !status approved by Ada Board 87-07-30 !status panel/committee-approved 87-02-18 (reviewed) !status panel/committee-approved (8-0-0) 86-11-13 (pending editorial review) !status work-item 86-10-15 !status received 86-10-02 !references AI-00222, 83-00813 !topic Delay statements executed by the environment task !summary 87-01-19 Delay statements can be executed by the environment task when a library package is elaborated. Such statements delay the environment task. !question 86-10-16 9.6(1) says: The execution of a delay statement ... suspends further execution of the task that executes the delay statement ... If a delay statement is given in the statements of a library package or in a subprogram that is executed during the elaboration of a library package, what task is delayed? !recommendation 87-01-19 Delay statements can be executed by the environment task when a library package is elaborated. Such statements delay the environment task. !discussion 87-01-19 10.1(8) says: Each main program acts as if called by some environment task; For this reason, a delay statement is allowed in the main program and delays the environment task. Since library packages are elaborated by the environment task (see AI-00222), delay statements are also allowed in library packages. Delay statements executed by the environment task during the elaboration of library units delay the environment task.