I've got a problem when using the Thread.interrupt() method. It doesn't
seem to be working.
For Example
Thread0 - processing Thread
Thread1 - Main Thread
Thread2 - I/O Thread
I've interrupted Thread1 (from thread0) and I'm checking using the
currentThread.interrupted() from Thread1. However this doesn't seems to
be working. I'm not sure if this is due to the fact that maybe because
of Thread2 is blocking on a read. I think this was a issue with Java
1.1.x (I'm using Java 1.2). However if I call a interrupt on Thread2
then it returns a socket error, so it is affecting Thread2 in some way.
I guess interrupt just sets a flag, so how come it is not getting picked
up in Thread1...
Any ideas ????
using green threads, java 1.2 port linux
Ron
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]