But wait blocks, no? If the parent calls wait it can't do anything else while the child terminates, and by the time wait returns a value, all has been decided for the child process in question.
the lowliest monk
In reply to Re^4: Fork Wait and probably grandchildren
by tlm
in thread Fork Wait and probably grandchildren
by Discordanian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |