RTOS |
Non
preemptive |
Mixed
Preemptive |
Preemptive |
Implem
-entation |
Remarks |
Round robin |
Cooperative
Round robin |
Round
robin |
Round
robin preemptive |
Cyclic
TCB |
Every
task
gets its chance in a sequential
manner |
Priority based |
Cooperative
Priority based |
Priority
based |
Priority based preemptive |
TCB
- Task Control Block |
Highest
priority task, which is ready gets it chance |
Implementation |
|
Context
Switching |
Context
Switching |
|
|
Remarks |
Every
task is written in a way that it complete execution within its time slot
& gives control for other tasks |
Calls to the scheduler are embedded in each task at regular time slots in order to relinquish control |
Tasks
are written as though it is the only program running on the processor.
Control is taken automatically by the OS on time ticks & interrupts |
|
|