jdk 线程池 threadPoolExecutor 源码剖析
public void execute(Runnable command) { if (command == null) throw new NullPointerException(); if (poolSize >= corePoolSize || !addIfUnderCorePoolSize(command)) { if (runState == RUNNING && workQueue.
原创
2016-07-05 11:18:01 ·
318 阅读 ·
0 评论