thread calls wait and no other thread calls notifyAll or notify
Joined: Feb 03, 2005
What happens when a thread calls wait and no other thread calls notifyAll or notify
Joined: Aug 24, 2003
Hi there! The thread will keep waiting until it is notified. And if it isnt notified, it will attempt to wait forever.
So youll probably kill the process by some means.
Joined: Dec 06, 2001
In at any time, all threads call wait() without calling notify() or notifyAll(), then it is called a deadlock. The process will continue to run without doing anything, so this should be avoided at all costs.