CS 284 Operating Systems
Programming Assignment #9

Due: Prior to 3/19/2001

Modify Program #7 such that:

  1. The Consumer threads do NOT exit on any accumulated count
  2. When the original 5 producers have exited, main() will
  3. the consumers, after seeing a SIG USR1 will no longer cond_wait on an empty buffer, but will exit instead
  4. produce a summary of who has done what

Suggestions:

  1. Change the original number to be produced to 10 - 15 (make it run faster)
  2. Make changes to #7 one small step at a time (always stay only a short distance from a correctly running program).

a partial sample output

=================================================================

You should use the 'script' command to capture all necessary information for handin.