annotate gcc/ada/libgnarl/a-astaco.ads @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ------------------------------------------------------------------------------
kono
parents:
diff changeset
2 -- --
kono
parents:
diff changeset
3 -- GNAT RUN-TIME COMPONENTS --
kono
parents:
diff changeset
4 -- --
kono
parents:
diff changeset
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 --
kono
parents:
diff changeset
6 -- --
kono
parents:
diff changeset
7 -- S p e c --
kono
parents:
diff changeset
8 -- --
kono
parents:
diff changeset
9 -- This specification is derived from the Ada Reference Manual for use with --
kono
parents:
diff changeset
10 -- GNAT. In accordance with the copyright of that document, you can freely --
kono
parents:
diff changeset
11 -- copy and modify this specification, provided that if you redistribute a --
kono
parents:
diff changeset
12 -- modified version, any changes that you have made are clearly indicated. --
kono
parents:
diff changeset
13 -- --
kono
parents:
diff changeset
14 ------------------------------------------------------------------------------
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 -- This unit is not implemented in typical GNAT implementations that lie on
kono
parents:
diff changeset
17 -- top of operating systems, because it is infeasible to implement in such
kono
parents:
diff changeset
18 -- environments. The RM anticipates this situation (RM D.11(10)), and permits
kono
parents:
diff changeset
19 -- an implementation to leave this unimplemented even if the Real-Time Systems
kono
parents:
diff changeset
20 -- annex is fully supported.
kono
parents:
diff changeset
21
kono
parents:
diff changeset
22 -- If a target environment provides appropriate support for this package, then
kono
parents:
diff changeset
23 -- the Unimplemented_Unit pragma should be removed from this spec, and an
kono
parents:
diff changeset
24 -- appropriate body provided. The framework for such a body is included in the
kono
parents:
diff changeset
25 -- distributed sources.
kono
parents:
diff changeset
26
kono
parents:
diff changeset
27 with Ada.Task_Identification;
kono
parents:
diff changeset
28
kono
parents:
diff changeset
29 package Ada.Asynchronous_Task_Control is
kono
parents:
diff changeset
30 pragma Preelaborate;
kono
parents:
diff changeset
31 -- In accordance with Ada 2005 AI-362
kono
parents:
diff changeset
32
kono
parents:
diff changeset
33 pragma Unimplemented_Unit;
kono
parents:
diff changeset
34
kono
parents:
diff changeset
35 procedure Hold (T : Ada.Task_Identification.Task_Id);
kono
parents:
diff changeset
36
kono
parents:
diff changeset
37 procedure Continue (T : Ada.Task_Identification.Task_Id);
kono
parents:
diff changeset
38
kono
parents:
diff changeset
39 function Is_Held (T : Ada.Task_Identification.Task_Id) return Boolean;
kono
parents:
diff changeset
40
kono
parents:
diff changeset
41 end Ada.Asynchronous_Task_Control;