Lines Matching full:threads
40 if (Threads.size() >= MaxThreadCount) in grow()
43 while (static_cast<int>(Threads.size()) < newThreadCount) { in grow()
44 int ThreadID = Threads.size(); in grow()
45 Threads.emplace_back([this, ThreadID] { in grow()
87 // Need to count active threads in each group separately, ActiveThreads in processTasks()
128 // If this was a task in a group, notify also threads waiting for tasks in processTasks()
146 // Wait for all threads to complete and the queue to be empty in wait()
153 // Wait for all threads in the group to complete. in wait()
172 for (const llvm::thread &Thread : Threads) in isWorkerThread()
178 // The destructor joins all threads, waiting for completion.
186 for (auto &Worker : Threads) in ~StdThreadPool()
192 // No threads are launched, issue a warning if ThreadCount is not 0
197 << " threads, but LLVM_ENABLE_THREADS has been turned off\n"; in SingleThreadExecutor()