Introduction
Time slicing is a technique used in real-time operating systems to allocate CPU time to multiple tasks or processes. In an RTOS, tasks or processes compete for CPU time, and time slicing ensures that each task gets a fair share of the CPU’s processing power.
The concept of time slicing revolves around dividing the available CPU time into small, discrete time slices or intervals. Each task is assigned a time slice during which it can execute. When the time slice for a task expires, the RTOS suspends that task and switches to the next task in line, allowing it to run for its allotted time slice.
This document serves as an overview of how PXROS implement the time slicing mechanism.