Lines Matching +full:config +full:- +full:cond
1 //===- llvm/Support/Parallel.cpp - Parallel algorithms --------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 #include "llvm/Config/llvm-config.h"
79 Cond.notify_all(); in stop()
97 static void call(void *Ptr) { ((ThreadPoolExecutor *)Ptr)->stop(); } in call()
105 Cond.notify_one(); in add()
116 Cond.wait(Lock, [&] { return Stop || !WorkStack.empty(); }); in work()
129 std::condition_variable Cond; member in llvm::parallel::detail::__anoncc39f2690111::ThreadPoolExecutor
164 return detail::Executor::getDefaultExecutor()->getThreadCount(); in getThreadCount()
189 detail::Executor::getDefaultExecutor()->add([&, F = std::move(F)] { in spawn()
206 auto NumItems = End - Begin; in parallelFor()