A thread can use Object.wait() to block until another thread calls notify() or notifyAll() on that object.
Object.wait()
notify()
notifyAll()
But what if a threa
You can wait only on one monitor. So notifiers must notify this one monitor. There is no other way in this low level synchronization.