Dining Philosophers problem with fairness


To use this applet, select the number of philosophers you want to have, click Start and watch them eat.

Click on Stop to stop the eating at any time, and Log when all circles are green to see the order the philosophers eat in.