What happens to a blocked process when the I/O operation it is waiting on completes?

Enhance your understanding with the System Software, Architecture, Memory and Storage Test. Study with flashcards and multiple choice questions. Each question offers hints and detailed explanations. Prepare effectively for your exam!

Multiple Choice

What happens to a blocked process when the I/O operation it is waiting on completes?

Explanation:
When a process is blocked waiting for I/O, it cannot proceed until the I/O completes. Once the I/O finishes, the event unblocks the process and the OS moves it from the blocked state to the ready state (placing it in the ready queue). From there, the scheduler may choose it to run, so it may be scheduled to execute. It is not terminated or returned to New, and it isn’t immediately continued outside the scheduling system. The key idea is: I/O completion makes the process ready again, and the scheduler decides when it actually runs.

When a process is blocked waiting for I/O, it cannot proceed until the I/O completes. Once the I/O finishes, the event unblocks the process and the OS moves it from the blocked state to the ready state (placing it in the ready queue). From there, the scheduler may choose it to run, so it may be scheduled to execute. It is not terminated or returned to New, and it isn’t immediately continued outside the scheduling system. The key idea is: I/O completion makes the process ready again, and the scheduler decides when it actually runs.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy