Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_utils.cpp25 std::vector<std::thread> g_threads; variable
40 if (g_threads.size() > MAX_THREADS) { in PostToBg()
43 g_threads.emplace_back(std::thread(task)); in PostToBg()
H A Dmock_image_loader.h35 extern std::vector<std::thread> g_threads;
/ohos5.0/drivers/peripheral/usb/sample/device/liteos/
H A Dacm_speed_read.c123 static pthread_t g_threads; variable
133 if (pthread_create(&g_threads, NULL, StopHandler, NULL) != 0) { in StartStopHandler()
H A Dacm_speed_write.c124 static pthread_t g_threads; variable
134 if (pthread_create(&g_threads, NULL, StopHandler, NULL) != 0) { in StartStopHandler()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/image_provider/
H A Dimage_provider_test_ng.cpp75 g_threads = std::vector<std::thread>(); in SetUpTestSuite()
97 for (auto& thread : g_threads) { in WaitForAsyncTasks()
100 g_threads.clear(); in WaitForAsyncTasks()