用我拙劣的英語閱讀DevelopDoc很難
當我上線377約ThreadPoolExecutor的成員變量
private final AtomicInteger ctl = new AtomicInteger(ctlOf(RUNNING, 0));
什麼全詞約CTL讀ThreadPoolExecutor
。
* The main pool control state, ctl, is an atomic integer packing two
* conceptual fields
* workerCount, indicating the effective number of threads
* runState, indicating whether running, shutting down etc
我想答案是'control state *** ??' 請幫我。謝謝。
問題是什麼? –
這只是變量的名稱。 – algrid
ctl不是簡體中文? @algrid –