Home
last modified time | relevance | path

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

/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtask_manager.cpp457 uint32_t minThread = ConcurrentHelper::IsLowMemory() ? 0 : DEFAULT_MIN_THREADS; in NotifyShrink() local
458 if (minThread == 0) { in NotifyShrink()
461 if (workerCount > minThread && workerCount > targetNum) { in NotifyShrink()
462 targetNum = std::max(minThread, targetNum); in NotifyShrink()
500 if ((workerCount == idleNum && workerCount <= minThread) && timeoutWorkers_.empty()) { in NotifyShrink()

Completed in 3 milliseconds