It's UWAweek 9 (1st semester, week 1)

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


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

Login to reply

👍?
helpful
9:39am Thu 7th Sep, Jacob R.

A process is a child process if it's a process that was spawned by another process (anything other than the first process)

  1. No, you don't need to call wait after spawn, but wait means the current process will wait for all of its children (if it has any) to exit
  2. A process that waits is just waiting for its children to exit. If it doesn't have children when it calls wait, it gets moved to the ready queue. Once all its children exit, it gets moved to the ready queue as well.

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