Modern dining philosophers—Lucian Radu Teodorescu

Save to:
Instapaper Pocket Readability

How to solve the dining philosophers problem in 2018? By using tasks. And how to use tasks? Read on...

Modern dining philosophers

by Lucian Radu Teodorescu

From the article:

We give several solutions to the dining philosophers problem, each with some pros and cons. But, more importantly, we walk the reader through the most important aspects of using tasks to solve concurrency problems.

Instead of reaching for our higher-level frameworks, we opted to keep the level of abstractions as close as possible to raw tasks. This way, we hope to guide the reader to understand more about the essence of task-based programming. Our aim is to make the reader comprehend the machinery of composing tasks; those skills should be highly valuable.

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.