285 views
0 votes
0 votes
Consider a situation where there are 4 processes executing using RR scheduling. The processes are arriving at different intervals of time.

Now, suppose P3 arrives when P2 is executing(before completing its quantum) then what should be scheduled next P1 or P3?

P1 ------------------- P2-------------------- ??

                                      P3 arrives

When this same situation arises in case SRTF scheduling, where Burst time of P3 is < Burst time of P1, then what should be scheduled next(after P2) P1 or P3?

Please log in or register to answer this question.

Related questions

3 votes
3 votes
2 answers
4
shikharV asked Nov 27, 2015
1,897 views
Between Round robin and shortest job first CPU scheduling algorithm which one has better average turnaround time?