Homework Set #8


  1. Problem 7.1 from the text. Explain your answer and briefly describe two different ways in which the problem can be fixed.

  2. Problem 7.2 from the text. Please provide code for your solution. To make this easier, you can download the text for Figure 7.20.

  3. As mentioned in problem 7.2, revise the code in Figure 7.8 to replace events with semaphores. Please provide code for your solution. To make this easier, you can download the text for Figure 7.8.


Turn in your hard-copy solution for this assignment to the homework box before 4:45 PM on the due date.
Last updated 3 September 2013
James Archibald jka@ee.byu.edu