摘要: 一、Thread.stop()官方不推荐,Because it is inherently unsafe. 二、方式一1. 线程类示例 2. 使用示例 三、方式二1. 线程类示例 2.使用示例 附、关于Thread.interrupt()通过这个方式也能停止线程。前提条件: 阅读全文
posted @ 2017-11-21 21:04 一沙世界 阅读(3791) 评论(0) 推荐(0) 编辑