A Round Robin Scheduling Policy for Ada

by A. Burns, M. Gonzalez Harbour & A. Welling
To appear at 8th International Conference on Reliable Software Technologies - Ada-Europe 2003 (AE03), Toulouse, France, 16-20 June 2003
 
Abstract

Although Ada defines a number of mechanisms for specifying scheduling policies, only one FIFO_Within_Priorities is guaranateed to be supported by all implementaions of the Real-Time Systems Annex. Many applications have a mixture of real-time and non real-time activities. The natural way of scheduling non real-time activities is by time sharing the processor using Round Robin Scheduling. Currently, the only way of achieving this is by incorporating yield operations in thecode. This is ad hoc and intrusive. The paper proposes a new scheduling policy which allows one or more priority levels to be identified as round robin priorities. A tasks whose base priority is set to one of these levels is scheduled in a round robin manner with a user-definable quantum.

  Back