各位大虾,近期小弟在看线程池源码,有几点疑问,还望不吝赐教!
问题一:ThreadPoolExecutor.execute(Runnable command)
问题二:ThreadPoolExecutor.addWorker(Runnable firstTask, boolean core)
问题一:ThreadPoolExecutor.execute(Runnable command)
问题二:ThreadPoolExecutor.addWorker(Runnable firstTask, boolean core)