为什么 mThreadPool.execute(getTask());空指针异常呢?
public void handleMessage(Message msg) {
//去线程池取出一个任务去执行
mThreadPool.execute(getTask());
try {
mSemaphoreThreadPool.acquire();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
};