Lab 3 - IDA
Lab 3 - IDA
Lab 3 - IDA
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Lab</strong> 3: Situations with Wait<br />
• Child exits before the parent and:<br />
– parent calls wait() afterwards<br />
Child<br />
exit(0)<br />
keep the exit value<br />
Destroy the exit value!<br />
Parent<br />
exec(Child)<br />
wait(Child)<br />
exit(0)<br />
wait() returns child’s exit value without waiting<br />
13