Dining Philosophers

Classic concurrency demo with a deadlock-free fork hierarchy around the table.

About this tool

Dining Philosophers — Five philosophers share five forks. This demo uses a numbered fork hierarchy to avoid deadlock.