Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An implementation of the dining philosophers problem in Elixir.
branch: master
Failed to load latest commit information.
lib unthink
.gitignore starting to implement philosophers Linked to atomic spin in readme
mix.exs implemented deadlocking scenario, starving scenario and nolock scenario

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


  • 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.