Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Search Forums > Search Results

Showing results 1 to 2 of 2
Search took 0 seconds.
Search: Posts Made By: mallikk
Forum: Java 10-24-2007
Replies: 0
Views: 604
Posted By mallikk
Difference bewteen notify() and notifyAll()

I am new to the java world. I couldn't get a satisifying answer for difference between notify() , notifyAll().
To my understanding notify() should send notification to only one of the waiting...
Forum: Java 10-22-2007
Replies: 17
Views: 23,561
Posted By mallikk
why notify() is sending notification to all waiting threads.

Please do help me in understanding why notify() is sending notification to all waiting threads.

Many thanks in advance.

CODE:

------
// reader class

class Reader extends Thread
Showing results 1 to 2 of 2

 
Forum Jump


Advertisments