![]() |
Max OS 0.3
|
Defines a GlobalScheduler and Scheduler for managing processes and threads. More...
#include <common/vector.h>#include <system/cpu.h>#include <hardwarecommunication/interrupts.h>#include <processes/process.h>#include <memory/memorymanagement.h>#include <processes/ipc.h>Go to the source code of this file.
Classes | |
| class | MaxOS::processes::GlobalScheduler |
| The global scheduler that manages all processes and threads across all cores. More... | |
| class | MaxOS::processes::Scheduler |
| Schedules processes to run on the core via their threads. More... | |
Variables | |
| constexpr size_t | MaxOS::processes::TICKS_PER_EVENT = 20 |
| Number of times the clock has to interrupt before switching to the next process/thread. | |
Defines a GlobalScheduler and Scheduler for managing processes and threads.
Definition in file scheduler.h.
|
constexpr |
Number of times the clock has to interrupt before switching to the next process/thread.
Definition at line 79 of file scheduler.h.
Referenced by MaxOS::processes::Scheduler::schedule(), and MaxOS::processes::Scheduler::schedule_next().