Dining Philosophers Strike Back!
summary
Presentation explains the Dining Philosophers concurrency problem and shows how to implement solutions in Java. It discusses practical approaches to avoid deadlocks and resource contention using Java synchronization primitives and concurrent utilities, with examples from real-world code.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 2:33Problem overview
- 8:37Deadlock theory
- 13:51Java locks
- 16:00Ostrich algorithm
- 18:27Breaking deadlock
- 21:58Resource ordering fix
- 24:31Fairness problem
- 28:40Starvation explained
- 31:09Testing fairness
- 34:01Timeouts mediators
- 36:30Solution comparison
- 39:20Fairness cost
- 40:23Recommended books
- 43:11Q&A
