Solve dining philosophers problem
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.
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