Model Checking, Tla Plus, TLC, Java, Concurrency.
the buffer is full and no consumer thread is running. The situation is hopeless, and eventually leads to state 24: State 24: <Action line 52, col 9 to line 53, col 62 of module Buffer> /\ buffer = <<m1, m1>> /\ waitSet = {p1, p2, p3, c1, c2} All five threads are in the wait set: deadlock! (The full