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. thanks,Gud job
View Tutorial          By: junaid sheikh at 2012-11-21 16:24:27

2. can any body help me how to execute this code ....
View Tutorial          By: nikhil at 2009-06-04 23:10:30

3. tell me the new page create in java and attach wi
View Tutorial          By: muhammad nadeem at 2011-07-06 00:12:08

4. can I ask question? how to make a complete program
View Tutorial          By: manuel at 2012-08-13 10:06:24

5. how come its able to copy from copyFrom to CopyTo.
View Tutorial          By: sameera at 2015-09-12 13:56:29

6. nice one dear
View Tutorial          By: pradeep at 2010-02-15 07:00:35

7. what are the required equipments to run j2me
View Tutorial          By: messi at 2012-11-13 13:15:18

8. need to be explained more
View Tutorial          By: parul at 2011-06-30 08:34:29

9. Nice Example.Good work.keep it up.
Thanks,<

View Tutorial          By: Lucky at 2011-07-08 10:36:38

10. Thanks for the article. I finally finish my task a
View Tutorial          By: bali web at 2012-07-10 13:47:49