Let's say we have 3 processes:Process 1 service time 6 arrival time 0Process 2 service time 2 arrival time 1Process 3 service time 5 arrival time 3We know that:after 1 time, process 2 will come and process 1 will go back having 5 service time left.then process 3 will come, after process 2 ends, at 3 time.Now the conflict is:Since process 1 and process 3 have equal service time - which one gets service time first?
Which process comes first?
operating systems;concurrency;process scheduling