CS 284 Operating Systems
Programming Assignment #5

Due: 9/21/2001 - Class Time

Write a C program that performs the following introductory program with threads. You may use either Solaris threads or Pthreads.

  1. Compose a reader function that
  2. Compose a writer function that
  3. main() should
    =================================================================
  4. If you found the above too easy, (and it was), add a 2nd reader thread, and perhaps a 2nd writer.

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