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 4 other people reading this forum.


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported

Login to reply

👍?
helpful
4:41am Mon 28th Aug, Christopher M.

ANONYMOUS wrote:
> When it comes to processes leaving the blocked queue to go to the ready queue, we know it takes 10usec to make that switch, so is that process still in the blocked queue for the duration of those 5 usecs or is it in neither the ready queue nor the blocked queue and instead in some transition state
There's no single 'true' answer, and it may depend on your implementation. You may not wish to put it in the Ready queue as it's not yet Ready to run, and you may not wish to keep it in the (a) Blocked queue if that would interfere with your implementation's finding which process is still waiting on I/O. Is your question one of understanding what's happening, or of how to implement it (which doesn't matter)?

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