|
java
|
|
|
|
|
Bookmarks
|
|
|
|
|
|
|
|
|
|
Save Link
Create/Add to List
|
|
|
|
|
|
* 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
|
|
# 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
|
|
|