Home
last modified time | relevance | path

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

/base/update/updater/test/unittest/script/
H A 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 __anon4016::ThreadPoolUnitTest
/base/update/updater/services/script/script_manager/
H A Dscript_managerImpl.cpp65 if (threadPool_) { in ~ScriptManagerImpl()
67 threadPool_ = nullptr; in ~ScriptManagerImpl()
132 threadPool_ = ThreadPool::CreateThreadPool(threadnum > MAX_THREAD_POOL ? MAX_THREAD_POOL : threadnum); in Init()
133 if (threadPool_ == nullptr) { in Init()
224 int32_t threadNumber = threadPool_->GetThreadNumber(); in ExecuteScript()
H A Dscript_manager_impl.h51 ThreadPool *threadPool_ = nullptr; member in Uscript::ScriptManagerImpl

Completed in 3 milliseconds