Android之ThreadPoolExecutor源码分析
ThreadPoolExecutor是一个有固定核心线程数的线程池,下面根据源码来详细介绍一下ThreadPoolExecutor的设计和思想首先看一下ThreadPoolExecutor的类图首先了解一下ThreadPoolExecutor的5种状态// runState is stored in the high-order bits
private static final int R
原创
2017-04-21 15:31:52 ·
687 阅读 ·
0 评论