1 ------------------------------------------------------------------------------
3 -- GNAT RUNTIME COMPONENTS --
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 --
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. --
14 ------------------------------------------------------------------------------
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.
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.
27 with Ada
.Task_Identification
;
29 package Ada
.Asynchronous_Task_Control
is
31 pragma Unimplemented_Unit
;
33 procedure Hold
(T
: Ada
.Task_Identification
.Task_Id
);
35 procedure Continue
(T
: Ada
.Task_Identification
.Task_Id
);
37 function Is_Held
(T
: Ada
.Task_Identification
.Task_Id
) return Boolean;
39 end Ada
.Asynchronous_Task_Control
;