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?
Starvation Condition in CPU/Process Scheduling?
operating systems;process scheduling
The first line in the wikipedia statesIn 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%29so the condition you stated is starvation because P1 is perpetually denied necessary resources to proceeds its work.