总结: 1 不推荐直接调用onstop()强制结束,因为不安全 2 run()比较短暂,执行完毕会自动停止 3 在run()设置一个flag标识,满足条件才执行 4 通过sleep()捕获异常,在调用 thread.intertupt(); 相关文章: