Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DParallel.cpp41 class ThreadPoolExecutor : public Executor { class
43 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { in ThreadPoolExecutor() function in llvm::parallel::detail::__anonf3ea7c1d0111::ThreadPoolExecutor
72 ~ThreadPoolExecutor() override { in ~ThreadPoolExecutor()
83 static void *call() { return new ThreadPoolExecutor(strategy); } in call()
86 static void call(void *Ptr) { ((ThreadPoolExecutor *)Ptr)->stop(); } in call()
139 static ManagedStatic<ThreadPoolExecutor, ThreadPoolExecutor::Creator, in getDefaultExecutor()
140 ThreadPoolExecutor::Deleter> in getDefaultExecutor()
142 static std::unique_ptr<ThreadPoolExecutor> Exec(&(*ManagedExec)); in getDefaultExecutor()