2.4. Scheduling

The VortexOS kernel employs the Round Robin scheduling algorithm to manage task execution. This algorithm ensures that each process gets a fair share of CPU time in a cyclical manner.

To facilitate this, the kernel registers a special function known as an interrupt handler, which the CPU invokes at regular intervals. This handler monitors the number of times it has been called, and after every 10 "ticks," it schedules the next process in line that is ready to run.

This method of scheduling ensures efficient time-sharing between processes, providing a balanced and predictable execution environment.

Last updated