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


SVG not supported

Login to reply

👍?
helpful
9:47pm Fri 8th Sep, Lewei X.

Hi there, I did some testing and it looks like the sample solution just increments the time after unblocking a process, and then uses that time as the point of reference to check if the next process can be unblocked. E.g. in the example below, the R/W process is set to unblock at 92usecs, which happens to be during the unblocking of a sleeping process. As can be seen, the R/W process takes 100usecs as the comparison time and unblocks immediately after the sleeping process.



This article has 1 attachment:

 

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