This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The functions in thread class themselves define clearly when and where they should be used and wait() and notify() are no exceptions. Also see notifyAll()
Preparing for OCPJWCD 6.
Joined: Jan 26, 2006
Thanks for your input. Let me move little ahead with my initial question What I have is a collection of Thread objects In certain point of time i need them to execute and some of them to suspend and resume, But here the issue is condition for handling these operations are gathered from different threads, Means using one thread calling start another for wait and notify So that java throwing execption complaining this