Scheduler
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
scheduler
discipline
fixedPriorityDiscipline.cpp
Go to the documentation of this file.
1
10
#include "
fixedPriorityDiscipline.h
"
11
12
using namespace
Scheduler
;
13
14
std::string
FixedPriorityDiscipline::getName
()
15
{
16
return
"Fixed priority"
;
17
}
18
19
void
FixedPriorityDiscipline::updatePriorities
(
Queue
*, std::shared_ptr<Process>)
20
{
21
/*note that this redefinition is not necessary, as the default PriorityDiscipline already
22
implements a fixed priority. This redefinition is an optimization.*/
23
return
;
24
}
25
26
Scheduler::Queue
This class implements the ready queue and the wait queue. Those queues contain processes ready to run...
Definition:
queue.h:28
Scheduler::FixedPriorityDiscipline::getName
std::string getName()
returns the name of that discipline
Definition:
fixedPriorityDiscipline.cpp:14
Scheduler::FixedPriorityDiscipline::updatePriorities
void updatePriorities(Queue *readyQueue, std::shared_ptr< Process > running) override
sets the correct priorities to the tasks, especially if dynamic priorities are used.
Definition:
fixedPriorityDiscipline.cpp:19
fixedPriorityDiscipline.h
Scheduler
Definition:
schedulerActions.h:21
Generated on Sun Nov 26 2017 17:01:36 for Scheduler by
1.8.11