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 --
10 -- This specification is adapted from the Ada Reference Manual for use with --
11 -- GNAT. In accordance with the copyright of that document, you can freely --
12 -- copy and modify this specification, provided that if you redistribute a --
13 -- modified version, any changes that you have made are clearly indicated. --
15 ------------------------------------------------------------------------------
17 -- This unit is not implemented in typical GNAT implementations that
18 -- lie on top of operating systems, because it is infeasible to implement
19 -- in such environments. The RM anticipates this situation (RM D.11(10)),
20 -- and permits an implementation to leave this unimplemented even if the
21 -- Real-Time Systems annex is fully supported.
23 -- If a target environment provides appropriate support for this package,
24 -- then the Unimplemented_Unit pragma should be removed from this spec,
25 -- and an appropriate body provided. The framework for such a body is
26 -- included in the distributed sources.
28 with Ada
.Task_Identification
;
30 package Ada
.Asynchronous_Task_Control
is
32 pragma Unimplemented_Unit
;
34 procedure Hold
(T
: Ada
.Task_Identification
.Task_Id
);
36 procedure Continue
(T
: Ada
.Task_Identification
.Task_Id
);
38 function Is_Held
(T
: Ada
.Task_Identification
.Task_Id
) return Boolean;
40 end Ada
.Asynchronous_Task_Control
;