The Dining Philosophers problem was formulated by Edsger Djisktra in 1965 to illustrate the kind of issues we can find when multiple processes compete to gain access to exclusive resources.
- A gentle introduction to actor-based concurrency.
- Source code from this article.
All of the code from this article is in
Practicing Ruby's example repository,
but the links below highlight the main points of interest:
- Scaling Ruby with Actors, or How I Learned to Stop Worrying and Love Threads by Mike Perham
Casiano Rodriguez León