Max OS 0.3
Loading...
Searching...
No Matches
scheduler.h File Reference

Defines a GlobalScheduler and Scheduler for managing processes and threads. More...

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.
 

Detailed Description

Defines a GlobalScheduler and Scheduler for managing processes and threads.

Date
25th February 2025
Author
Max Tyson

Definition in file scheduler.h.

Variable Documentation

◆ TICKS_PER_EVENT

constexpr size_t MaxOS::processes::TICKS_PER_EVENT = 20
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().