What is the difference between preemptive scheduling and time slicing?Under time slicing, a task executes for a predefined slice of time and then reenters the pool of ready tasks. The scheduler then determines which task should execute next, based on priority and other factors. However, in preemptive scheduling a task with a higher priority interrupts a task with a lower priority and executes itself.
|