如何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

 

posted @ 2013-07-16 16:55  linsen@java  阅读(222)  评论(0编辑  收藏  举报