Description
Solve dining philosophers problem
Use
http://spiegel.cs.rit.edu/~hpb/Lectures/2181/605/605-277.html
As reference. You should modify your code to run for 100,000 times eating without any deadlocks. This will suffice for a proper solution. You will not use sleep as a mechanism to solve this problem.
Grading:
Correctness: You can lose up to 20% if your solution is not correct
Quality: You can lose up to 20% if your solution is poorly designed
Testing: You can lose up to 20% if your solution is not well tested
Explanation: You can lose up to 40% if you cannot explain your solution during the grading session