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


SVG not supported

Login to reply

👍?
helpful
9:02am Tue 5th Sep, Jasper P.

I believe the unblocking order in the clarifications is intended for a single time step, meaning unblocking is ordered first by time the task is completed, and secondly by the type of system call it was (and thirdly by the time the system call was called). Chris' sample seems to follow the pattern of doing work and then incrementing time by one in a loop until there are no processes alive. So the sleeping and then the waiting process would both become unblocked during one time step, and not until another time step in the next 10usecs would the second sleeper become unblocked. Hope it isn't too cheeky to imagine that Chris might say: a sleeping process cannot 'advance the time'. :P Even though your implementation may work like that.

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