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 typed solution for this assignment via LearningSuite by 11:00pm on the due date.
Last updated 26 August 2019
James Archibald jka@ee.byu.edu