6:43PM Perth time.  It's UWAweek 20

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 1 other person reading this forum.




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 Chris.McDonald@uwa.edu.au
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy