Model Checking, Tla Plus, TLC, Java, Concurrency.
Some producer (p1 or p2, since p3 is suspended) successfully puts m1 into the buffer and calls notify. But instead of a consumer, producer p3 is being notified and removed from the wait set. As discussed earlier, the problem with this buffer implementation is that producers and consumers wait into