java concurrent-ThreadPoolExecutor

一、ThreadPoolExecutor注意的點: 1.1 ctl(state:3|worker_num:29): 1.1.1 state:線程池狀態,32位前三位 RUNNING(111),SHUTDOWN(000),STOP(001),TIDYING(010),ETRMINATED(011) 1.1.2 worker_num:線程池中工作線程的數量,32位的後29位 1.2 參數 1.2.1
相關文章
相關標籤/搜索