随笔分类 - java线程池
摘要:Worker(Runnable firstTask) { setState(-1); // inhibit interrupts until runWorker this.firstTask = firstTask; this.thread = getThreadFactory().newThrea
阅读全文
摘要:摘抄自:https://blog.csdn.net/u011389515/article/details/80656813 线程池的5种状态:Running、ShutDown、Stop、Tidying、Terminated。 线程池各个状态切换框架图: 1、RUNNING (1) 状态说明:线程池处
阅读全文