* gcc.c (getenv_spec_function): New function.
[official-gcc.git] / gcc / ada / a-diroro.ads
blob379d0430072cd39f97b084a63078d85db60cf2fc
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 -- Copyright (C) 2006, Free Software Foundation, Inc. --
10 -- --
11 -- This specification is adapted from the Ada Reference Manual for use with --
12 -- GNAT. In accordance with the copyright of that document, you can freely --
13 -- copy and modify this specification, provided that if you redistribute a --
14 -- modified version, any changes that you have made are clearly indicated. --
15 -- --
16 ------------------------------------------------------------------------------
18 with System;
19 with Ada.Real_Time;
21 package Ada.Dispatching.Round_Robin is
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;