Home
last modified time | relevance | path

Searched refs:workerCount (Results 1 - 1 of 1) sorted by relevance

/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtask_manager.cpp456 uint32_t workerCount = workers_.size(); in NotifyShrink() local
461 if (workerCount > minThread && workerCount > targetNum) { in NotifyShrink()
463 uint32_t step = std::min(workerCount - targetNum, SHRINK_STEP); in NotifyShrink()
483 if (ConcurrentHelper::IsModerateMemory() && workerCount == idleNum && workerCount == DEFAULT_MIN_THREADS) { in NotifyShrink()
500 if ((workerCount == idleNum && workerCount <= minThread) && timeoutWorkers_.empty()) { in NotifyShrink()
527 uint32_t workerCount = 0; in TryExpand() local
533 workerCount in TryExpand()
[all...]

Completed in 2 milliseconds