Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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::__anon096d2ab40111::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()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/
H A Dupdate_test_prefix.py6 from concurrent.futures import ThreadPoolExecutor, as_completed
42 with ThreadPoolExecutor(max_workers=32) as e:
/netbsd-src/external/mpl/bind/dist/bin/tests/system/shutdown/
H A Dtests_shutdown.py14 from concurrent.futures import ThreadPoolExecutor, as_completed
82 with ThreadPoolExecutor(n_workers + 1) as executor:
/netbsd-src/external/mpl/bind/dist/bin/tests/system/stress/
H A Dtests_stress_update.py69 with concurrent.futures.ThreadPoolExecutor() as executor:
79 # cause the ThreadPoolExecutor context manager to wait indefinitely;
82 # the ThreadPoolExecutor context manager.