Searched refs:ThreadPoolExecutor (Results 1 – 3 of 3) sorted by relevance
41 class ThreadPoolExecutor : public Executor { class43 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { in ThreadPoolExecutor() function in llvm::parallel::detail::__anond7d369990111::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:
983 with concurrent.futures.ThreadPoolExecutor() as executor: