Re: Threads & interrupt

1999-11-14 Thread Daniel Dulitz
Ron writes: > I've got a problem when using the Thread.interrupt() method. It doesn't > seem to be working. > [...] > 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 g

Threads & interrupt

1999-11-14 Thread Ron
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. H