Home
last modified time | relevance | path

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

/ohos5.0/foundation/ai/ai_engine/services/common/platform/threadpool/source/
H A Dthread_pool.cpp70 if (idleThreads_.empty()) { in Pop()
78 thread = idleThreads_.front(); in Pop()
79 idleThreads_.pop_front(); in Pop()
99 idleThreads_.push_back(thread); in Push()
144 idleThreads_.push_back(thread); in StopThreads()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dtask_pool_impl.cpp31 idleThreads_(0) in TaskPoolImpl()
136 ++idleThreads_; in IdleExit()
142 --idleThreads_; in IdleExit()
151 --idleThreads_; in IdleExit()
227 LOGI("Task pool spawn cur:%d idle:%d.", curThreads_, idleThreads_); in SpawnThreads()
251 curThreads_, idleThreads_, genericTaskCount_, queuedTaskCount_); in ExitWorker()
H A Dtask_pool_impl.h83 int idleThreads_; variable
/ohos5.0/foundation/ai/ai_engine/services/common/platform/threadpool/include/
H A Dthread_pool.h72 Threads idleThreads_; variable