Go to the documentation of this file.
18 #ifndef __KERNEL_SCHEDULER_H
19 #define __KERNEL_SCHEDULER_H
Size count() const
Get number of processes on the schedule.
Responsible for deciding which Process may execute on the local Core.
Represents a process which may run on the host.
Scheduler()
Constructor function.
Queue< Process *, MAX_PROCS > m_queue
Contains processes ready to run.
Process * select()
Select the next process to run.
unsigned int Size
Any sane size indicator cannot go negative.
Result enqueue(Process *proc, bool ignoreState)
Add a Process to the run schedule.
Result dequeue(Process *proc, bool ignoreState)
Remove a Process from the run schedule.