Searched refs:ThreadPoolExecutor (Results 1 – 4 of 4) sorted by relevance
41 class ThreadPoolExecutor : public Executor { class43 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { in ThreadPoolExecutor() function in llvm::parallel::detail::__anon096d2ab40111::ThreadPoolExecutor72 ~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()
6 from concurrent.futures import ThreadPoolExecutor, as_completed42 with ThreadPoolExecutor(max_workers=32) as e:
14 from concurrent.futures import ThreadPoolExecutor, as_completed82 with ThreadPoolExecutor(n_workers + 1) as executor:
69 with concurrent.futures.ThreadPoolExecutor() as executor:79 # cause the ThreadPoolExecutor context manager to wait indefinitely;82 # the ThreadPoolExecutor context manager.