It's UWAweek 8

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 2 other people reading this forum.


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported

Login to reply

👍?
helpful
4:55am Wed 13th Sep, Christopher M.

ANONYMOUS wrote:

This isn't related directly but is something that's just come to my mind. If a process is in the middle of being executed by the CPU and is then put into the READY queue, would that corrupt something?

No. You're either overthinking things, or have some misunderstandings.

In this sort of case where a process like writing to a device is suddenly put to the READY queue because of the time-quantum 'expiring' for that process, is this something that could actually happen?

If a process is in the middle of writing something (actually, the device that the process requested to write something is writing), the process is not on the CPU, not running, so its timequantum cannot expire then.

The process is not on the CPU, is not running, is in a queue waiting for its I/O to finish, and is not involved in performing the I/O.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy