Home
last modified time | relevance | path

Searched refs:ThreadPoolExecutor (Results 1 – 25 of 37) 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::__anon2b5c2c130111::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/ejdb/src/bindings/ejdb2_react_native/binding/android/src/main/java/com/softmotions/ejdb2/
DEJDB2Package.java9 import java.util.concurrent.ThreadPoolExecutor;
20 private static final Executor executor = new ThreadPoolExecutor(0, 5, 60L, TimeUnit.SECONDS,
/third_party/python/Doc/library/
Dconcurrent.futures.rst18 :class:`ThreadPoolExecutor`, or separate processes, using
37 with ThreadPoolExecutor(max_workers=1) as executor:
65 :class:`ThreadPoolExecutor`, *chunksize* has no effect.
100 with ThreadPoolExecutor(max_workers=4) as e:
110 ThreadPoolExecutor chapter
113 :class:`ThreadPoolExecutor` is an :class:`Executor` subclass that uses a pool of
131 executor = ThreadPoolExecutor(max_workers=2)
143 executor = ThreadPoolExecutor(max_workers=1)
147 .. class:: ThreadPoolExecutor(max_workers=None, thread_name_prefix='', initializer=None, initargs=(…
161 multiplied by ``5``, assuming that :class:`ThreadPoolExecutor` is often
[all …]
Dasyncio-eventloop.rst184 the threads in the :class:`ThreadPoolExecutor`. After calling this method, a
1116 with concurrent.futures.ThreadPoolExecutor() as pool:
1138 (:class:`~concurrent.futures.ThreadPoolExecutor`) to set the
1145 :class:`~concurrent.futures.ThreadPoolExecutor`.
1149 :class:`~concurrent.futures.ThreadPoolExecutor` is deprecated and
1153 :class:`concurrent.futures.ThreadPoolExecutor`.
Dasyncio-dev.rst106 :class:`concurrent.futures.ThreadPoolExecutor` to execute
/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/flatbuffers/grpc/examples/python/greeter/
Dserver.py48 server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
/third_party/python/Lib/test/
Dtest_concurrent_futures.py154 executor_type = futures.ThreadPoolExecutor
424 with futures.ThreadPoolExecutor(max_workers=5) as e:
433 executor = futures.ThreadPoolExecutor(max_workers=5)
448 executor = futures.ThreadPoolExecutor(max_workers=5)
461 executor = futures.ThreadPoolExecutor(
473 executor = futures.ThreadPoolExecutor(max_workers=5)
929 with futures.ThreadPoolExecutor(1) as pool:
Dtest_inspect.py23 from concurrent.futures import ThreadPoolExecutor
25 ThreadPoolExecutor = None variable
4312 @unittest.skipIf(ThreadPoolExecutor is None,
4320 inspect.getsource(ThreadPoolExecutor).splitlines())
Dtest_context.py354 tp = concurrent.futures.ThreadPoolExecutor(max_workers=10)
/third_party/python/Lib/test/test_asyncio/
Dtest_futures.py478 ex = concurrent.futures.ThreadPoolExecutor(1)
495 ex = concurrent.futures.ThreadPoolExecutor(1)
506 ex = concurrent.futures.ThreadPoolExecutor(1)
520 ex = concurrent.futures.ThreadPoolExecutor(1)
/third_party/python/Lib/distutils/command/
Dbuild_ext.py456 from concurrent.futures import ThreadPoolExecutor
464 with ThreadPoolExecutor(max_workers=workers) as executor:
/third_party/flatbuffers/grpc/tests/
Dgrpctest.py104 server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
/third_party/ejdb/src/bindings/ejdb2_flutter/android/src/main/java/com/softmotions/ejdb2/
DEjdb2FlutterPlugin.java9 import java.util.concurrent.ThreadPoolExecutor;
40 static final Executor executor = new ThreadPoolExecutor(0, 5, 60L, TimeUnit.SECONDS,
/third_party/python/Misc/NEWS.d/
D3.6.3rc1.rst376 Fix concurrent.futures.thread.ThreadPoolExecutor threads to have a non
378 They will now identify themselves as "ThreadPoolExecutor-y_n".
427 concurrent.futures: WorkItem.run() used by ThreadPoolExecutor now breaks a
D3.7.0b1.rst384 ``concurrent.futures`` imports ``ThreadPoolExecutor`` and
386 asyncio`` about 15% faster because asyncio uses only ``ThreadPoolExecutor``
D3.6.0a4.rst221 Add to concurrent.futures.thread.ThreadPoolExecutor() the ability to specify
D3.8.0b1.rst570 Change default *max_workers* of ``ThreadPoolExecutor`` from ``cpu_count() *
1499 Change ThreadPoolExecutor to use existing idle threads before spinning up
/third_party/python/Lib/asyncio/
Dbase_events.py808 executor = concurrent.futures.ThreadPoolExecutor(
816 if not isinstance(executor, concurrent.futures.ThreadPoolExecutor):
/third_party/python/Doc/whatsnew/
D3.9.rst357 :class:`~concurrent.futures.ThreadPoolExecutor` to finish closing. Also,
398 Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor`
D3.7.rst817 :class:`ThreadPoolExecutor <concurrent.futures.ThreadPoolExecutor>` now
2431 * The ``submit()`` method of :class:`concurrent.futures.ThreadPoolExecutor`
/third_party/python/Doc/faq/
Dlibrary.rst296 especially the :mod:`~concurrent.futures.ThreadPoolExecutor` class.

12