Let's say OS is using preemptive CPU scheduling. A process P1 gets a chance to run for some time and then next higher priority process comes and preempts P1. After that higher priority processes are coming regularly and P1 never gets chance. Is this condition called starvation or not?
-
2$\begingroup$ What do you think? Do you know what starvation means in this context? Do the conditions for starvation hold in this case? $\endgroup$– Yuval FilmusAug 24, 2015 at 22:14
1 Answer
The first line in the wikipedia states "In computer science, starvation is a problem encountered in concurrent computing where a process is perpetually denied necessary resources to proceeds its work."
https://en.wikipedia.org/wiki/Starvation_%28computer_science%29
so the condition you stated is starvation because P1 is perpetually denied necessary resources to proceeds its work.