As we all know , Thread.stop() is a deprecated method . Sun's suggestion is to replace it with a control flag in method run() . But my question is how to stop a thread without this control flag . Just means which un-deprecated method can replace the stop method .
posted 14 years ago
What's wrong with using a control flag? Eugene.
Forget Steve. Look at this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user