Can starvation occur in a non-preemptive scheduling system? Can it occur in a preemptive one?
No, starvation cannot occur in non-preemptive scheduling systems because processes in this system will all keep running until the end, and no process can be added in between.
Yes, pre-emptive scheduling may cause starvation. Preemptive scheduling basically means process switch from running state to ready state or waiting state to ready state. Starvation may be caused due to the insertion of continuos high priority process in the queue. In this scenario, the low priority processes may end up starving.
Get Answers For Free
Most questions answered within 1 hours.