Home
last modified time | relevance | path

Searched refs:maxThreads (Results 1 – 1 of 1) sorted by relevance

/commonlibrary/ets_utils/js_concurrent_module/taskpool/
Dtask_manager.cpp437 const uint32_t maxThreads = std::max(ConcurrentHelper::GetMaxThreads(), DEFAULT_THREADS); in TryExpand() local
438 if (workerCount < maxThreads && workerCount < targetNum) { in TryExpand()
439 uint32_t step = std::min(maxThreads, targetNum) - workerCount; in TryExpand()
442 maxThreads, step, GetThreadNum()); in TryExpand()