Searched refs:ProcessPoolExecutor (Results 1 - 12 of 12) sorted by relevance

/external/python/cpython3/Lib/concurrent/futures/
H A D__init__.py17 from concurrent.futures.process import ProcessPoolExecutor namespace
H A Dprocess.py4 """Implements ProcessPoolExecutor.
64 # ProcessPoolExecutor's process pool (i.e. shutdown() was not called). However,
231 executor_reference: A weakref.ref to the ProcessPoolExecutor that owns
232 this thread. Used to determine if the ProcessPoolExecutor has been
362 Raised when a process in a ProcessPoolExecutor terminated abruptly
367 class ProcessPoolExecutor(_base.Executor): class in inherits:_base.Executor
369 """Initializes a new ProcessPoolExecutor instance.
/external/python/futures/concurrent/futures/
H A D__init__.py20 from concurrent.futures.process import ProcessPoolExecutor namespace
H A Dprocess.py4 """Implements ProcessPoolExecutor.
58 # ProcessPoolExecutor's process pool (i.e. shutdown() was not called). However,
185 executor_reference: A weakref.ref to the ProcessPoolExecutor that owns
186 this thread. Used to determine if the ProcessPoolExecutor has been
266 class ProcessPoolExecutor(_base.Executor): class in inherits:_base.Executor
268 """Initializes a new ProcessPoolExecutor instance.
/external/python/futures/
H A Dprimes.py6 from concurrent.futures import ThreadPoolExecutor, ProcessPoolExecutor namespace
31 with ProcessPoolExecutor(10) as executor:
H A Dcrawl.py14 ProcessPoolExecutor)
62 ProcessPoolExecutor(10))),
H A Dtest_futures.py170 executor_type = futures.ProcessPoolExecutor
275 with futures.ProcessPoolExecutor(max_workers=5) as e:
284 executor = futures.ProcessPoolExecutor(max_workers=5)
/external/python/cpython3/Lib/
H A Dcompileall.py20 from concurrent.futures import ProcessPoolExecutor namespace
22 ProcessPoolExecutor = None variable
77 if workers is not None and workers != 1 and ProcessPoolExecutor is not None:
79 with ProcessPoolExecutor(max_workers=workers) as executor:
/external/python/cpython3/Lib/test/
H A Dtest_concurrent_futures.py95 executor_type = futures.ProcessPoolExecutor
198 with futures.ProcessPoolExecutor(max_workers=5) as e:
207 executor = futures.ProcessPoolExecutor(max_workers=5)
H A Dtest_compileall.py17 from concurrent.futures import ProcessPoolExecutor namespace
164 @mock.patch('compileall.ProcessPoolExecutor')
174 @mock.patch('compileall.ProcessPoolExecutor')
179 @mock.patch('compileall.ProcessPoolExecutor')
186 @mock.patch('compileall.ProcessPoolExecutor', new=None)
/external/python/cpython3/
H A Dsetup.py29 ProcessPoolExecutor = None variable in class:Dummy
/external/python/cpython3/Lib/test/test_asyncio/
H A Dtest_events.py2196 pool = concurrent.futures.ProcessPoolExecutor()

Completed in 255 milliseconds