Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_thread_pool_test.cpp116 std::thread workingThread = std::thread([task, time, watcher]() { in MockSchedule() local
121 workingThread.detach(); in MockSchedule()
180 std::thread workingThread; variable
181 …EXPECT_CALL(*threadPoolPtr_, Execute(_)).WillRepeatedly([&callCount, &workingThread](const Task &t… in __anonbed5c56d0a02()
183 workingThread = std::thread([task]() { in __anonbed5c56d0a02()
189 if (workingThread.joinable()) {
190 workingThread.join();
200 if (workingThread.joinable()) {
201 workingThread.join();