help | forum home | logged in as: guest | login/register
link mingle
java
Bookmarks
Home » java » Interview Questions »
notify vs notifyAll RSS
Save Link Create/Add to List

Java Quick Reference - Threads - notify() and notifyAll() methods
saved under Interview Questions/notify vs notifyAll by java

* notify() wakes up a single thread which is waiting on the object's lock * notifyAll() wakes up ALL waiting threads; the scheduler decides which one will run
http://www.janeg.ca/scjp/threads/notify.html
created by java on 2008-05-20 00:47:07

Diffrence Between Notify & NotifyAll (Threads and Synchronization forum at JavaRanch)
saved under Interview Questions/notify vs notifyAll by java

# In case of notify() only one thread will get to the RUNNING state and other will be in WAIT state # In case of notifyAll() only one thread will get to the RUNNING state and other will be in BLOCKED state
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb
created by java on 2008-05-20 00:41:53

0
 
Thumbnails by Thumbshots.com