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. everyone should appreciate this
View Tutorial          By: Udara at 2010-10-18 01:15:09

2. if a class is declared as abstract and it contains
View Tutorial          By: nagaraj at 2012-04-25 17:12:30

3. sir,
When I run the above code and give 6 o

View Tutorial          By: nishant at 2012-07-01 17:11:20

4. I get this error too, but my scrit doesint use mys
View Tutorial          By: Paulius at 2009-04-29 12:35:55

5. Hi All,

This code is working fine i

View Tutorial          By: A.Balaji at 2010-09-27 04:40:38

6. Hi
I have a USB bluetooth that plug in my c

View Tutorial          By: Duong D. Thien at 2008-06-25 06:09:07

7. explaination is very good ,(lucid and succinct app
View Tutorial          By: shailendra singh at 2010-06-08 11:24:29

8. Hey,
The above tutorial is for SQL server,<

View Tutorial          By: Anil at 2012-02-07 15:58:06

9. could u help me i want to integrate the paypal sys
View Tutorial          By: Anand at 2011-01-17 21:59:25

10. i want to study java
View Tutorial          By: doshyo at 2007-12-13 07:41:03