How can I control which waiting thread is notified when I call notify()?

John Zukowski

There is no way to control which thread is notified when you call notify(). Neither thread priorities nor order of entering wait() determine what is notified first.

[Any pattern you may notice is platform-specific and should not be relied upon. -Alex]

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact