-
Complete exercise 8.14 (p. 641) from the text. For each possible
output, describe a sequence of events (e.g., forks,
printfs, etc.) that produces it; for each impossible output,
explain why it cannot occur.
- Complete exercise 11.10 (p. 799) from the text.
~/clklein/html/15400-2008-spring/lab9/cpfile.tar contains the
program in Figure 11.4. This program uses the authors' CS:APP
library, which needs to be linked with pthreads (-lpthread).
Submit your
solutions on paper or by email (clklein@cs.uchicago.edu) by 5:00pm.
|