April 2012
notify vs notifyall
Queue.java
Attached is a file containing a simple producer consumer scenario that I wrote.
Changing queue.notifyAll() to queue.notify() in the push method creates a deadlock.
Not sure why? Is the…
Discussion
notify vs notifyall
1 Like