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



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. crystal clear explanation. He's explained very nic
View Tutorial          By: jay at 2009-12-08 10:28:14

2. #include<iostream>
#include<conio.

View Tutorial          By: Zohaib Farooq at 2011-05-23 07:58:44

3. thanks this material is very helpful for me
View Tutorial          By: Anonymous at 2009-05-09 08:04:31

4. please correct things....and plz dont misguide
View Tutorial          By: amit verma at 2015-02-19 08:44:55

5. Simply explained theory.......
Thanx......!

View Tutorial          By: Priya at 2013-03-03 14:42:05

6. This is a good tutorial. Now how can I send SMS mu
View Tutorial          By: Alkesh at 2013-05-11 14:51:53

7. how to compile and run the above program ? please
View Tutorial          By: samir at 2009-12-22 00:42:52

8. So I followed you steps with no compile errors. W
View Tutorial          By: PointLookoutResident at 2014-10-14 19:01:11

9. hi!!!!!!!!! MR. RAMLAK will u plz tell the methode
View Tutorial          By: balwant at 2008-11-10 17:19:44

10. Hey..can anyone please tell me how to run linux co
View Tutorial          By: ahmed at 2008-09-05 10:22:52