What type of scheduling is there in RTOS? The tasks of real time operating system have 3 states namely, ‘running’, ’ready’, ‘blocked’. Only one task per CPU is being performed at a given point of time. In systems that are simpler, the list is usually short, two or three tasks at the most.
The designing of scheduler is the real key. Usually to minimize the worst-case length of time spent in the scheduler’s critical section, the data structure of the ready list in the scheduler is designed. This is done during the inhibition of preemption. All interrupts are disabled in certain cases. The data structure choice depends on the tasks on the ready list can perform at the maximum.