It's UWAweek 19

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


SVG not supported

Login to reply

👍?
helpful

Yes, I do agree on this, just a bit confused after this post, as the 2 sleep processes wouldn't come close to unblocking at the exact same time
>Just to clarify this section: >If multiple processes can be unblocked at any time, they are unblocked (added to the READY queue) in the same order that they requested their action. >so if two processes where sleeping, pid0 and pid1, and pid0 called sleep() before pid1 did, but pid0 sleeps for 5000usecs while pid1 sleeps for 10usecs, would pid0 be unblocked before pid1 because it requested sleep() before pid1 did? >> Yes, that's correct.
Now that I'm reading it again, it doesn't explicitly mention that pid0 and pid1 unblock at the same time, and Christ must've assumed thats what he meant (that pid1 and pid0) unblock at the same time.

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  8:08AM Aug 25 2024
Privacy policy