Quiz - Dining Phils
Spring 2003
Name:______________________________________________________________
What is the initial value of the semaphore array s[] and WHY?
Where are the forks? That is, how are the forks implemented.
Why is the state variable set to
hungry
in the procedure
take_forks
?
Last modified Mar, 3 by mike@cs.hmc.edu