Programming Tutorials

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



Comment Added by : Sanjeev

Comment Added at : 2010-06-25 00:21:35

Comment on Tutorial : wait(), notify() and notifyAll() in Java - A tutorial By Jagan
Just wanted to ask when the consumer is waiting for the producer to produce. How can produce produce because it cannnot get the key of the put function of Q class because consumer already has key and it is in the wait mode.

Could you clarify this?


View Tutorial