Home
last modified time | relevance | path

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

/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtask_manager.cpp49 static constexpr uint32_t DEFAULT_MIN_THREADS = 1; // 1: minimum thread num when idle member
457 uint32_t minThread = ConcurrentHelper::IsLowMemory() ? 0 : DEFAULT_MIN_THREADS; in NotifyShrink()
483 if (ConcurrentHelper::IsModerateMemory() && workerCount == idleNum && workerCount == DEFAULT_MIN_THREADS) { in NotifyShrink()
490 TriggerShrink(DEFAULT_MIN_THREADS); in NotifyShrink()

Completed in 5 milliseconds