JS Bin
摘要: 采用控制一个中断标识符的方式来停止一个线程: package thread.test; class InteruptTest extends Thread { volatile boolean stop = false;// 线程中断信号量 public static void main(Strin 阅读全文
posted @ 2020-03-30 09:52 左五六 阅读(384) 评论(0) 推荐(0) 编辑