Dining Philosophers in Rust

Published: 16 October 2021
on channel: Bedroom Builds
835
38

Solutions to the dining philosophers problem implemented in Rust

More Information about problem and solutions: https://en.wikipedia.org/wiki/Dining_...

Shows multithreading and different synchronisation primitives

0:00 - Intro
1:01 - Problem description
4:04 - Resource Hierarchy solution
18:49 - Arbitrator solution
29:31 - Limit number of philosophers at the table
34:54 - Chandy Mistra solution (message queues)

Code can be found at https://github.com/bedroombuilds/dini...