Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An implementation of the dining philosophers problem in Elixir.
branch: master

README.md

To read more about this implementation please visit Elixir, Erlang, and the Dining Philosophers on Atomic Spin

Instructions

  • mix start.deadlock
  • mix start.starving
  • mix start.nolock

A step by step representation of philosopher actions will be output, followed by a summary of the number of times each philosopher has eaten.

**** Marx has eaten 46

**** Kant has eaten 80

**** Spinoza has eaten 62

**** Russell has eaten 105

**** Aristotle has eaten 38

Something went wrong with that request. Please try again.