Dining PhilosophersModels the dining philosophers system, including five ways to avoid deadlock. The application allows the user to change the current mode, and adjust the time spent eating/thinking as well as the overall speed.
To force the system to deadlock, focus the top-right text box (by clicking on it) and press d.
The code is released under the GNU General Public License (GPL).
The source code archive contains a .jar manifest and ant build file, when compiled it can be run as:
java -jar DiningPhilosophers.jar.
Last modified 2006-06-02T21:32:25+01:00.
©2002-2010 Simon Arlott. All Rights Reserved.