It's UWAweek 10 (1st semester, week 2)

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


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

Login to reply

👍?
helpful
5:22pm Thu 7th Sep, Christopher M.

ANONYMOUS wrote:
> What is it actually waiting for? This is a valid file according to the sample solution.
A process calling wait will be blocked until all of its child processes (that it has spawned) have terminated. The project sheet says: "waits for all processes that it has spawned to terminate (at which time the process is marked as Blocked until the other processes terminate)."
> And am I correct in saying that if wait is called with nothing to actually wait for then it just goes back to the READY queue?
The Clarifications page says: "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)." If either of these points are unclear, please explain which part you're confused about.

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