JUC源码解析(1)---- ThreadPoolExecutor 实现原理、execute()实现

线程池类结构图: ThreadPoolExecutor Java.util.concurrent.ThreadPoolExecutor类是ExecutorSerivce接口的具体实现。ThreadPoolExecutor使用线程池中的一个线程来执行给定的任务(Runnable或者Runnable)。 ThreadPoolExecutor对象,具体参数描述如下: corePoolSize      
相关文章
相关标签/搜索