Thread.interrupt() wakes up the wrong thread
Status: Beta
Brought to you by:
crystall
Calling Thread.interrupt() on a thread waiting through Object.wait() on an object on which more threads are waiting interrupts the correct threads but fails to wake it up. Instead another of the waiting thread is woken as if Thread.notify() had been called on the object.