Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DParallel.cpp40 class ThreadPoolExecutor : public Executor { class
42 explicit ThreadPoolExecutor(unsigned ThreadCount = hardware_concurrency()) { in ThreadPoolExecutor() function in llvm::parallel::detail::__anon6c3c55750111::ThreadPoolExecutor
70 ~ThreadPoolExecutor() override { in ~ThreadPoolExecutor()
81 static void call(void *Ptr) { ((ThreadPoolExecutor *)Ptr)->stop(); } in call()
132 static ManagedStatic<ThreadPoolExecutor, object_creator<ThreadPoolExecutor>, in getDefaultExecutor()
133 ThreadPoolExecutor::Deleter> in getDefaultExecutor()
135 static std::unique_ptr<ThreadPoolExecutor> Exec(&(*ManagedExec)); in getDefaultExecutor()
/third_party/python/Lib/concurrent/futures/
D__init__.py41 global ProcessPoolExecutor, ThreadPoolExecutor
49 from .thread import ThreadPoolExecutor as te
50 ThreadPoolExecutor = te
Dthread.py118 class ThreadPoolExecutor(_base.Executor): class
/third_party/python/Lib/test/test_importlib/partial/
Dcfimport.py13 from concurrent.futures import ThreadPoolExecutor
20 from concurrent.futures.thread import ThreadPoolExecutor
/third_party/python/Doc/library/
Dconcurrent.futures.rst18 :class:`ThreadPoolExecutor`, or separate processes, using
38 with ThreadPoolExecutor(max_workers=1) as executor:
66 :class:`ThreadPoolExecutor`, *chunksize* has no effect.
101 with ThreadPoolExecutor(max_workers=4) as e:
111 ThreadPoolExecutor chapter
114 :class:`ThreadPoolExecutor` is an :class:`Executor` subclass that uses a pool of
132 executor = ThreadPoolExecutor(max_workers=2)
144 executor = ThreadPoolExecutor(max_workers=1)
148 .. class:: ThreadPoolExecutor(max_workers=None, thread_name_prefix='', initializer=None, initargs=(…
153 All threads enqueued to ``ThreadPoolExecutor`` will be joined before the
[all …]
Dasyncio-dev.rst106 :class:`concurrent.futures.ThreadPoolExecutor` to execute
Dasyncio-eventloop.rst195 the threads in the :class:`~concurrent.futures.ThreadPoolExecutor`.
1244 with concurrent.futures.ThreadPoolExecutor() as pool:
1272 (:class:`~concurrent.futures.ThreadPoolExecutor`) to set the
1279 :class:`~concurrent.futures.ThreadPoolExecutor`.
1283 :class:`~concurrent.futures.ThreadPoolExecutor`.
Dthreading.rst19 :class:`concurrent.futures.ThreadPoolExecutor` offers a higher level interface
/third_party/mesa3d/.gitlab-ci/bin/
Dci_run_n_monitor.py17 from concurrent.futures import ThreadPoolExecutor
214 with ThreadPoolExecutor(max_workers=6) as exe:
/third_party/python/Lib/test/
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)
955 with futures.ThreadPoolExecutor(1) as pool:
Dtest_context.py356 tp = concurrent.futures.ThreadPoolExecutor(max_workers=10)
Dtest_inspect.py24 from concurrent.futures import ThreadPoolExecutor
26 ThreadPoolExecutor = None variable
4456 @unittest.skipIf(ThreadPoolExecutor is None,
4464 inspect.getsource(ThreadPoolExecutor).splitlines())
/third_party/node/deps/v8/tools/
Dlocs.py24 from concurrent.futures import ThreadPoolExecutor
424 with ThreadPoolExecutor(max_workers=ARGS['jobs']) as executor:
/third_party/python/Lib/test/test_asyncio/
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)
Dtest_base_events.py213 class DummyExecutor(concurrent.futures.ThreadPoolExecutor):
/third_party/python/Lib/distutils/command/
Dbuild_ext.py456 from concurrent.futures import ThreadPoolExecutor
464 with ThreadPoolExecutor(max_workers=workers) as executor:
/third_party/python/Lib/asyncio/
Dbase_events.py824 executor = concurrent.futures.ThreadPoolExecutor(
832 if not isinstance(executor, concurrent.futures.ThreadPoolExecutor):
/third_party/python/Doc/whatsnew/
D3.9.rst355 :class:`~concurrent.futures.ThreadPoolExecutor` to finish closing. Also,
396 Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor`
D3.7.rst817 :class:`ThreadPoolExecutor <concurrent.futures.ThreadPoolExecutor>` now
2432 * The ``submit()`` method of :class:`concurrent.futures.ThreadPoolExecutor`
D3.6.rst951 The :class:`ThreadPoolExecutor <concurrent.futures.ThreadPoolExecutor>`
D3.8.rst1648 :class:`concurrent.futures.ThreadPoolExecutor` to
1732 :class:`concurrent.futures.ThreadPoolExecutor` and
D3.2.rst269 A simple of example of :class:`~concurrent.futures.ThreadPoolExecutor` is a
273 with concurrent.futures.ThreadPoolExecutor(max_workers=4) as e:
D3.5.rst984 The number of workers in the :class:`~concurrent.futures.ThreadPoolExecutor`
/third_party/python/Doc/faq/
Dlibrary.rst293 especially the :mod:`~concurrent.futures.ThreadPoolExecutor` class.
/third_party/python/Misc/
DNEWS1730 - gh-issue-86128: Document a limitation in ThreadPoolExecutor where its exit
7502 non-:class:`concurrent.futures.ThreadPoolExecutor` executors to
15778 - bpo-31783: Fix race condition in ThreadPoolExecutor when worker threads
16804 - bpo-35279: Change default *max_workers* of ``ThreadPoolExecutor`` from
17130 - bpo-24882: Change ThreadPoolExecutor to use existing idle threads before
19705 - bpo-34075: Deprecate passing non-ThreadPoolExecutor instances to
22559 - bpo-32596: ``concurrent.futures`` imports ``ThreadPoolExecutor`` and
22562 ``ThreadPoolExecutor`` by default.
24499 - bpo-31249: concurrent.futures: WorkItem.run() used by ThreadPoolExecutor
24663 - bpo-29212: Fix concurrent.futures.thread.ThreadPoolExecutor threads to
[all …]

12