CS 284 Operating Systems
Programming Assignment #6

Due: 10/1/2001 - Class Time

Write a multi-threaded C program that simulates the "Dining Philosophers" problem as discussed on page 283. You may take an approach similar to that of the book, or you may approach the problem differently - your choice. Regardless, the following guidelines need to be observed:

  1. Philosophers
  2. Chopsticks
  3. Synchronization
  4. Output