摘要: /** * @description **/ public class InterruptTest2 implements Runnable { public static void main(String[] args) { InterruptTest2 test = new InterruptT 阅读全文
posted @ 2019-12-25 16:54 Andrew_F 阅读(404) 评论(0) 推荐(0)
摘要: http://www.manongjc.com/java_example/thread_status.html 1. 新建状态(New):新创建了一个线程对象。 2. 就绪状态(Runnable):线程对象创建后,其他线程调用了该对象的start()方法。该状态的线程位于可运行线程池中,变得可运行, 阅读全文
posted @ 2019-12-25 16:46 Andrew_F 阅读(376) 评论(0) 推荐(0)