Question: Consider the following partial timeline of process events: Time Event Process P1 executes the command: Read from disk unit 3 P5's time slice expires
Consider the following partial timeline of process events: Time Event Process P1 executes the command: Read from disk unit 3 P5's time slice expires 5 15 18 P7 executes the command: Write to disk unit 3 P3 executes the command: Read from disk unit 2 P5 executes the command: Write to disk unit 3 P5 is swapped out Disk unit 2 generates an interrupt: Read is complete for P3 Disk unit 3 generates an interrupt: Read is complete for P1 P8 terminates Disk unit 3 generates an interrupt: Write is complete for P5 P5 is swapped back in Disk unit 3 generates an interrupt: Write is complete for P7 Assuming that before time 5, no system resources are used except for memory and the processor, complete the following state table. (Note: Time 22 has been completed for 20 24 28 33 36 38 40 44 48 you in order to provide an example of how to fill out the table entries.) P3 Blocked Time P1 P8 P5 P7 Ready/running Blocked for 1/0 Blocked for Ready/running 22 for 1/0 1/0 37 47
Step by Step Solution
3.47 Rating (147 Votes )
There are 3 Steps involved in it
To complete the state table well analyze each event in the timeline and determine the state of each ... View full answer
Get step-by-step solutions from verified subject matter experts
