如何stop,suspend一个线程 在deprecated的情况下

java has deprecate many function as "stop","destroy"等, here is an article written by sun. 

explains why deprecate and how to do to control thread, 看了比较受用

http://docs.oracle.com/javase/1.5.0/docs/guide/misc/threadPrimitiveDeprecation.html

原文地址:https://www.cnblogs.com/linxiaojiang/p/3193715.html