Searched refs:ThreadPoolExecutor (Results 1 – 4 of 4) sorted by relevance
49 class ThreadPoolExecutor : public Executor { class51 explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) { in ThreadPoolExecutor() function in llvm::parallel::detail::__anon2cb6b1800111::ThreadPoolExecutor80 ~ThreadPoolExecutor() override { in ~ThreadPoolExecutor()91 static void *call() { return new ThreadPoolExecutor(strategy); } in call()94 static void call(void *Ptr) { ((ThreadPoolExecutor *)Ptr)->stop(); } in call()148 static ManagedStatic<ThreadPoolExecutor, ThreadPoolExecutor::Creator, in getDefaultExecutor()149 ThreadPoolExecutor::Deleter> in getDefaultExecutor()151 static std::unique_ptr<ThreadPoolExecutor> Exec(&(*ManagedExec)); in getDefaultExecutor()
6 from concurrent.futures import ThreadPoolExecutor, as_completed42 with ThreadPoolExecutor(max_workers=32) as e:
17 from concurrent.futures import ThreadPoolExecutor63 with ThreadPoolExecutor(max_workers=config.jobs) as executor:
1046 with concurrent.futures.ThreadPoolExecutor() as executor: