| Author |
Why wait() within synchronized context?
|
Kishore Kondreddi
Greenhorn
Joined: May 10, 2006
Posts: 3
|
|
why all the three methods�wait()/notify()/notifyAll()�must be called from within a synchronized context?
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24041
|
|
Hi, Welcome to JavaRanch! We have a forum devoted to "Threads and Synchronization." I'm going to move this there before answering.
|
[Jess in Action][AskingGoodQuestions]
|
 |
 |
|
|
subject: Why wait() within synchronized context?
|
|
|