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. excellent
View Tutorial          By: amit gupta at 2012-07-03 12:31:31

2. thank you. its very useful :)
View Tutorial          By: Farhanna at 2013-05-22 05:33:46

3. Unable to understand all the points, quiet confusi
View Tutorial          By: KB at 2015-04-15 10:11:14

4. really great, goes more in depth than cplusplus.co
View Tutorial          By: ss80 at 2008-07-02 06:45:47

5. hi ..........
the code is worked for me....

View Tutorial          By: pradeep at 2012-01-25 06:30:14

6. Please
Can you help me ^-^
I use th

View Tutorial          By: HNO11 at 2011-03-28 11:08:28

7. This site is an Excellent Choice for lerners.Thank
View Tutorial          By: Sravanthi at 2011-06-28 06:20:35

8. i want to know the step by step process of vb.net
View Tutorial          By: moumita das at 2012-12-01 12:28:35

9. Why the output list in the wrong order?
View Tutorial          By: Pavel at 2013-02-23 12:05:02

10. Really a great article!
I have some questio

View Tutorial          By: ron at 2010-03-30 01:37:12