Duplicate :
|
fp.bugs 1276 - ###@###.### (Jon Payne) Once a thread is blocked in read() it is not possible to kill that thread, or unblock it. Description: I have a piece of applet code which tries to stop another thread which is blocked reading from a network connection. It tries to unblock it by closing the network connection, hoping that the read will return eof immediately. Instead it sits there forever blocked, the thread in PendingDeath state.