Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DParallel.cpp40 class ThreadPoolExecutor : public Executor { class
42 explicit ThreadPoolExecutor(unsigned ThreadCount = hardware_concurrency()) { in ThreadPoolExecutor() function in llvm::parallel::detail::__anon24328::ThreadPoolExecutor
70 ~ThreadPoolExecutor() override {
81 static void call(void *Ptr) { ((ThreadPoolExecutor *)Ptr)->stop(); } in call()
115 // The ManagedStatic enables the ThreadPoolExecutor to be stopped via in getDefaultExecutor()
122 // The ThreadPoolExecutor will only be destroyed when the static unique_ptr to in getDefaultExecutor()
123 // it is destroyed, i.e. in a normal full exit. The ThreadPoolExecutor in getDefaultExecutor()
132 static ManagedStatic<ThreadPoolExecutor, object_creator<ThreadPoolExecutor>, in getDefaultExecutor()
133 ThreadPoolExecutor in getDefaultExecutor()
[all...]
/third_party/python/Lib/concurrent/futures/
H A D__init__.py32 'ThreadPoolExecutor',
41 global ProcessPoolExecutor, ThreadPoolExecutor
48 if name == 'ThreadPoolExecutor':
49 from .thread import ThreadPoolExecutor as te
50 ThreadPoolExecutor = te
H A Dthread.py4 """Implements ThreadPoolExecutor."""
114 Raised when a worker thread in a ThreadPoolExecutor failed initializing.
118 class ThreadPoolExecutor(_base.Executor): class
125 """Initializes a new ThreadPoolExecutor instance.
135 # ThreadPoolExecutor is often used to:
157 ("ThreadPoolExecutor-%d" % self._counter()))
/third_party/python/Lib/test/test_importlib/partial/
H A Dcfimport.py13 from concurrent.futures import ThreadPoolExecutor namespace
20 from concurrent.futures.thread import ThreadPoolExecutor namespace
/third_party/mesa3d/.gitlab-ci/bin/
H A Dci_run_n_monitor.py17 from concurrent.futures import ThreadPoolExecutor namespace
214 with ThreadPoolExecutor(max_workers=6) as exe:
/third_party/python/Lib/test/
H A Dtest_concurrent_futures.py151 executor_type = futures.ThreadPoolExecutor
444 with futures.ThreadPoolExecutor(max_workers=5) as e:
453 executor = futures.ThreadPoolExecutor(max_workers=5)
468 executor = futures.ThreadPoolExecutor(max_workers=5)
481 executor = futures.ThreadPoolExecutor(
493 executor = futures.ThreadPoolExecutor(max_workers=5)
502 self.assertRegex(t.name, r'ThreadPoolExecutor-\d+_[0-4]$')
509 from concurrent.futures import ThreadPoolExecutor
512 t = ThreadPoolExecutor()
955 with futures.ThreadPoolExecutor(
[all...]
H A Dtest_context.py356 tp = concurrent.futures.ThreadPoolExecutor(max_workers=10)
H A Dtest_inspect.py24 from concurrent.futures import ThreadPoolExecutor namespace
26 ThreadPoolExecutor = None variable
4456 @unittest.skipIf(ThreadPoolExecutor is None,
4460 'concurrent.futures:ThreadPoolExecutor')
4464 inspect.getsource(ThreadPoolExecutor).splitlines())
/third_party/node/deps/v8/tools/
H A Dlocs.py24 from concurrent.futures import ThreadPoolExecutor namespace
424 with ThreadPoolExecutor(max_workers=ARGS['jobs']) as executor:
/third_party/python/Lib/test/test_asyncio/
H A Dtest_futures.py479 ex = concurrent.futures.ThreadPoolExecutor(1)
496 ex = concurrent.futures.ThreadPoolExecutor(1)
505 ex = concurrent.futures.ThreadPoolExecutor(1)
519 ex = concurrent.futures.ThreadPoolExecutor(1)
H A Dtest_base_events.py213 class DummyExecutor(concurrent.futures.ThreadPoolExecutor):
228 msg = 'executor must be ThreadPoolExecutor instance'
/third_party/python/Lib/distutils/command/
H A Dbuild_ext.py456 from concurrent.futures import ThreadPoolExecutor namespace
464 with ThreadPoolExecutor(max_workers=workers) as executor:
/third_party/python/Lib/asyncio/
H A Dbase_events.py824 executor = concurrent.futures.ThreadPoolExecutor(
832 if not isinstance(executor, concurrent.futures.ThreadPoolExecutor):
833 raise TypeError('executor must be ThreadPoolExecutor instance')

Completed in 19 milliseconds