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



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hello, this is a very good post. I'm a newbee in J
View Tutorial          By: Brian at 2013-04-11 09:07:33

2. super......... thanks 4 ur great example...
View Tutorial          By: jithinraj at 2013-03-13 08:34:07

3. My code:

$hex=array('C4028000','457

View Tutorial          By: Mark at 2015-02-02 14:42:56

4. Thanks for this article.
View Tutorial          By: Arindam Dey at 2011-06-16 05:23:17

5. i want to more explanation about serlization
View Tutorial          By: sumathi at 2013-12-22 15:00:20

6. How do use qsort to sort lines in text file?
View Tutorial          By: kenny at 2008-11-18 08:59:55

7. sir there is no startapp(),destroyapp() and pause
View Tutorial          By: Sathish at 2012-08-20 08:49:33

8. give me the code
View Tutorial          By: roger at 2013-10-10 19:44:07

9. good for learners
View Tutorial          By: muhammed at 2012-11-20 10:38:28

10. @pawan: Wow. Your comment is museum-quality art, a
View Tutorial          By: Steve at 2013-02-21 20:30:47