Three philosophers sit around a plate of spaghetti, alternating between thinking and eating. However, each philosopher needs two chopsticks to eat spaghetti. This is the Dining Philosophers Problem
Use the STEP button ( ↷ ) to walk through code; the ALGORITHM button ( ⚙ ) to change the algorithm; and the FULLSCREEN button ( ⛶ ) to enter fullscreen mode.