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



Comment Added by : Armin

Comment Added at : 2009-07-26 07:25:09

Comment on Tutorial : wait(), notify() and notifyAll() in Java - A tutorial By Jagan
notify does NOT wake up the first thread waiting. it wakes up an abitrary thread waiting. notifyAll is almost always better than notify. A thread woken up by wait still has to compete with all other threads that are trying to lock on the object.

cheers
Armin


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. can any one plz send me the message passing codin
View Tutorial          By: sowmya at 2010-08-02 04:57:22

2. It's Very Nice. Particularly:
DO use memmov

View Tutorial          By: Rasmi Ranjan Nayak at 2010-01-12 04:40:18

3. wow... and Thanks...
View Tutorial          By: lasitha at 2010-07-24 21:38:50

4. The example is good but there is an easy to iterat
View Tutorial          By: manish at 2013-03-24 16:21:03

5. plz send me java prograams
View Tutorial          By: simmy at 2009-10-26 01:57:55

6. The textarea value(finalresult) i want save in Tre
View Tutorial          By: anbalagan.s at 2007-10-17 05:10:19

7. HOW DO I FIND MY COMM PORT NAME SO THAT I CAN SPEC
View Tutorial          By: RUTUJA at 2013-10-01 18:27:59

8. could you send me a code for a music video mobile
View Tutorial          By: Christian at 2009-08-28 23:03:45

9. Dear author
u missed check condition for 0(

View Tutorial          By: Maroof Ahmad at 2012-03-28 14:59:53

10. Its tooo good to others.......& easy
View Tutorial          By: Abhishek at 2010-03-31 23:57:07