Re: How do I override a Thread's stop() method when its final OR How do I safely stop a Thread
Posted By:
Simon_Ablett
Posted On:
Wednesday, July 24, 2002 09:04 AM
Either set a semaphore in the thread and then poll for it within the thread or call 'interrupt' and catch the 'InterruptedException' (and possibly 'InterruptedIOException' under Solaris).
Regards.