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


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported

Login to reply

👍?
helpful
4:31am Wed 6th Sep, Christopher M.

"Yichen Tang" <23*1*1*4@s*u*e*t*u*a*e*u*a*> wrote:
> The sample solution does this: When a parent process, whose child has already exited, calls wait, the system puts it inside the waiting queue and immediately moves it to the ready queue. > > >From my understanding, the above process would be put directly into ready instead of the waiting queue. There isn't a huge difference (10usecs of state transition), but clarification would be greatly appreciated.
(sorry, I can't find the original comment that identified this) Thanks for identifying this confusion. I've modified the sample solution, and added this to the Clarifications: "If a process calls the 'wait' system-call when it has no children, it should be moved from the CPU to the READY queue (not to the WAITING queue)."

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