Thread related issues
1 posts in topic
Flat View  Flat View

Posted By:   Nidhi_AJmera
Posted On:   Friday, April 2, 2004 01:06 AM

what is the difference between notify() & notifyAll()?

Re: Thread related issues

Posted By:   Srikanth_Basavaraju  
Posted On:   Sunday, April 11, 2004 02:46 AM

notifyAll() wakes up all the threads that are in waiting state on the current object's monitor.

where as notify() wakes up a single thread that is blocked on the current object's monitor.
About | Sitemap | Contact