1 ------------------------------------------------------------------------------
3 -- GNAT RUN-TIME COMPONENTS --
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 --
9 -- Copyright (C) 2006, Free Software Foundation, Inc. --
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. --
16 ------------------------------------------------------------------------------
21 package Ada
.Dispatching
.Round_Robin
is
23 Default_Quantum
: constant Ada
.Real_Time
.Time_Span
:=
24 Ada
.Real_Time
.Milliseconds
(10);
27 (Pri
: System
.Priority
;
28 Quantum
: Ada
.Real_Time
.Time_Span
);
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
;