Searched refs:g_threads (Results 1 – 5 of 5) sorted by relevance
25 std::vector<std::thread> g_threads; variable40 if (g_threads.size() > MAX_THREADS) { in PostToBg()43 g_threads.emplace_back(std::thread(task)); in PostToBg()
35 extern std::vector<std::thread> g_threads;
123 static pthread_t g_threads; variable133 if (pthread_create(&g_threads, NULL, StopHandler, NULL) != 0) { in StartStopHandler()
124 static pthread_t g_threads; variable134 if (pthread_create(&g_threads, NULL, StopHandler, NULL) != 0) { in StartStopHandler()
75 g_threads = std::vector<std::thread>(); in SetUpTestSuite()97 for (auto& thread : g_threads) { in WaitForAsyncTasks()100 g_threads.clear(); in WaitForAsyncTasks()