Home
last modified time | relevance | path

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

/base/update/updater/test/unittest/script/
Dthreadpool_unittest.cpp42 ThreadPoolUnitTest() : threadPool_(ThreadPool::CreateThreadPool(MAX_TASK_NUMBER)) {} in ThreadPoolUnitTest()
47 threadPool_ = nullptr; in ~ThreadPoolUnitTest()
52 if (threadPool_ == nullptr) { in TestThreadPoolCreate()
75 ThreadPool* threadPool_; member in __anon9421ffec0111::ThreadPoolUnitTest
/base/update/updater/services/script/script_manager/
Dscript_managerImpl.cpp65 if (threadPool_) { in ~ScriptManagerImpl()
67 threadPool_ = nullptr; in ~ScriptManagerImpl()
89 threadPool_ = ThreadPool::CreateThreadPool(MAX_PRIORITY); in Init()
90 if (threadPool_ == nullptr) { in Init()
216 int32_t threadNumber = threadPool_->GetThreadNumber(); in ExecuteScript()
Dscript_manager_impl.h51 ThreadPool *threadPool_ = nullptr; variable