10 #ifndef ROUNDROBINDISCIPLINE_H 11 #define ROUNDROBINDISCIPLINE_H 25 static constexpr
const char *
configKey =
"roundRobinDiscipline";
29 std::shared_ptr<Process>
selectNextTask(
Queue *readyQueue, std::shared_ptr<Process> running,
unsigned int);
33 std::shared_ptr<Process> currentProcess{
nullptr};
This class implements the ready queue and the wait queue. Those queues contain processes ready to run...
std::shared_ptr< Process > selectNextTask(Queue *readyQueue, std::shared_ptr< Process > running, unsigned int)
select the best task to run at this point.
RoundRobinDiscipline(std::shared_ptr< SchedulerConfiguration > c)
std::string getName()
returns the name of that discipline
static constexpr const char * configKey
bool preempts(TriggeringEvent trigger)
returns true if the argument is a scheduling trigger for this specific discipline ...