Programming Tutorials

Comment on Tutorial - wait(), notify() and notifyAll() in Java - A tutorial By Jagan



Comment Added by : Sasha

Comment Added at : 2012-01-24 14:34:03

Comment on Tutorial : wait(), notify() and notifyAll() in Java - A tutorial By Jagan
29. It is not a deadlock. What will actually happen is that consumer might start first and consume something, that has not been produced yet. That's why 27's code is not correct.

View Tutorial