PR c++/54038
[official-gcc.git] / gcc / ada / a-diroro.ads
blob2cdaeb1f2b1f96fd605a9765ecc601c663b2c799
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT RUN-TIME COMPONENTS --
4 -- --
5 -- A D A . D I S P A T C H I N G . R O U N D _ R O B I N --
6 -- --
7 -- S p e c --
8 -- --
9 -- This specification is derived 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 ------------------------------------------------------------------------------
16 with System;
17 with Ada.Real_Time;
19 package Ada.Dispatching.Round_Robin is
21 pragma Unimplemented_Unit;
23 Default_Quantum : constant Ada.Real_Time.Time_Span :=
24 Ada.Real_Time.Milliseconds (10);
26 procedure Set_Quantum
27 (Pri : System.Priority;
28 Quantum : Ada.Real_Time.Time_Span);
30 procedure Set_Quantum
31 (Low, High : System.Priority;
32 Quantum : Ada.Real_Time.Time_Span);
34 function Actual_Quantum
35 (Pri : System.Priority) return Ada.Real_Time.Time_Span;
37 function Is_Round_Robin (Pri : System.Priority) return Boolean;
39 end Ada.Dispatching.Round_Robin;