I am getting confused because of the following two lectures . I solved this problem based on these lectures.
They are keep on updating the arrival times and making decisions based on the updated arrival times.I also did in the same way what they have done.
Link 1:https://www.youtube.com/watch?v=rWEOJR5ZXFc
Link 2:https://www.youtube.com/watch?v=FYcc9D8llF0&index=18&list=PLgre7dUq8DGKbtnlMuJPvPYlvLdXOC9uh
I want to know whether these 2 lectures are wrong.
please help me.
Hope this helps,
@AnilGoudar , here you assumed that i/o resource will we available at required time to all processes?
I'm trying for I/O waiting queue (considering only 1 i/o device is available).
P3 WILL BE SELECTED AT TIME=7 because it has lower process id than p4.
then p1 will be selected as it has lesser BT2 then the BT1 OF P4
IDLE- P4 is gone for i/o for 2 units of time.
64.3k questions
77.9k answers
244k comments
80.0k users