Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/media_foundation/src/osal/task/pthread/
H A Dpipeline_threadpool.cpp87 … std::shared_ptr<std::list<std::shared_ptr<PipeLineThread>>> threadList = workerGroupMap[groupId]; in FindThread() local
88 for (auto thread : *threadList.get()) { in FindThread()
94 threadList->push_back(newThread); in FindThread()
101 std::shared_ptr<std::list<std::shared_ptr<PipeLineThread>>> threadList; in DestroyThread() local
108 threadList = workerGroupMap[groupId]; in DestroyThread()
111 for (auto thread : *threadList.get()) { in DestroyThread()
/ohos5.0/foundation/ai/ai_engine/test/common/threadpool/
H A Dthread_pool_test.cpp216 std::shared_ptr<Thread> threadList[maxThreadNum]; variable
222 threadList[i] = threadPool->Pop();
223 ASSERT_TRUE(threadList[i]->StartThread(workerList[i]));
226 threadList[i]->StopThread();
227 threadPool->Push(threadList[i]);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_relational_ver_p2p_sync_test.cpp2132 std::vector<std::thread *> threadList; variable
2136 threadList.push_back(new std::thread([&, device]() { in __anond45d0a2b1a02()
2144 for (size_t i = 0; i < threadList.size(); i++) {
2145 threadList[i]->join();
2146 delete threadList[i];
2147 threadList[i] = nullptr;