The Dining Philosophers

In this lesson, we will discuss another classical concurrency problem, the dining philosophers problem.

One of the most famous concurrency problems posed, and solved, by Dijkstra, is known as the dining philosopher’s problem“Hierarchical ordering of sequential processes” by E.W. Dijkstra. Available online here: http://www.cs.utexas.edu/users/EWD/ewd03xx/EWD310.PDF. Presents numerous concurrency problems, including Dining Philosophers. The Wikipedia page about this problem is also useful.. The problem is famous because it is fun and somewhat intellectually interesting; however, its practical utility is low. However, its fame forces its inclusion here; indeed, you might be asked about it in some interview, and you’d really hate us if you miss that question and don’t get the job. Conversely, if you get the job, please feel free to send us a nice note, or some stock options.

Get hands-on with 1200+ tech skills courses.