Hi,
I'm looking at the BlockingQueue tutorial, particularly the change between "Safety - Detecting Deadlocks" and "Constants to Variables".
I don't get why the second version would fix the deadlock: for what I see, the space state grows bigger without excluding the deadlock sequence.
Am I missing something crucial here?
Thanks
Hi,
I'm looking at the BlockingQueue tutorial, particularly the change between "Safety - Detecting Deadlocks" and "Constants to Variables".
I don't get why the second version would fix the deadlock: for what I see, the space state grows bigger without excluding the deadlock sequence.
Am I missing something crucial here?
Thanks