I am confused with a basic concept of Round Robin CPU process scheduling, where the short term scheduler adds the process to the ready queue.
If there are 3 process P0, P1 and P2 in the system and a context switch occurs for P1 at 5 seconds and at the same time P2 ARRIVES (i.e. at 5th second). In such a case which process will be inserted first in the ready queue, P1 or P2? The overall average waiting time may not differ in both the cases but the individual waiting time of a process will differ.