OSDN Git Service

* sysdep.c: Problem discovered during IA64 VMS port.
[pf3gnuchains/gcc-fork.git] / gcc / ada / a-astaco.ads
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                         GNAT RUNTIME COMPONENTS                          --
4 --                                                                          --
5 --        A D A . A S Y N C H R O N O U S _ T A S K _ C O N T R O L         --
6 --                                                                          --
7 --                                 S p e c                                  --
8 --                                                                          --
9 -- This specification is adapted from the Ada Reference Manual for use with --
10 -- GNAT.  In accordance with the copyright of that document, you can freely --
11 -- copy and modify this specification,  provided that if you redistribute a --
12 -- modified version,  any changes that you have made are clearly indicated. --
13 --                                                                          --
14 ------------------------------------------------------------------------------
15
16    --  This unit is not implemented in typical GNAT implementations that
17    --  lie on top of operating systems, because it is infeasible to implement
18    --  in such environments. The RM anticipates this situation (RM D.11(10)),
19    --  and permits an implementation to leave this unimplemented even if the
20    --  Real-Time Systems annex is fully supported.
21
22    --  If a target environment provides appropriate support for this package,
23    --  then the Unimplemented_Unit pragma should be removed from this spec,
24    --  and an appropriate body provided. The framework for such a body is
25    --  included in the distributed sources.
26
27 with Ada.Task_Identification;
28
29 package Ada.Asynchronous_Task_Control is
30
31    pragma Unimplemented_Unit;
32
33    procedure Hold (T : Ada.Task_Identification.Task_Id);
34
35    procedure Continue (T : Ada.Task_Identification.Task_Id);
36
37    function Is_Held (T : Ada.Task_Identification.Task_Id) return Boolean;
38
39 end Ada.Asynchronous_Task_Control;