Home
last modified time | relevance | path

Searched refs:get_start_method (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Lib/test/test_concurrent_futures/
Dtest_process_pool.py123 if self.get_context().get_start_method(allow_none=False) == "fork":
133 if self.get_context().get_start_method(allow_none=False) == "fork":
146 if context.get_start_method(allow_none=False) == "fork":
176 self.assertEqual(executor._mp_context.get_start_method(), "spawn")
180 if context.get_start_method(allow_none=False) == "fork":
Dtest_shutdown.py261 if mp_context.get_start_method(allow_none=False) == "fork":
/external/python/cpython3/Lib/multiprocessing/
Dspawn.py16 from . import get_start_method, set_start_method
187 start_method=get_start_method(),
Dcontext.py197 def get_start_method(self, allow_none=False): member in BaseContext
253 def get_start_method(self, allow_none=False): member in DefaultContext
Dsynchronize.py53 self._is_fork_ctx = ctx.get_start_method() == 'fork'
/external/python/cpython3/Lib/concurrent/futures/
Dprocess.py677 self._mp_context.get_start_method(allow_none=False) != "fork")
689 if self._mp_context.get_start_method(allow_none=False) == "fork":
/external/python/cpython3/Lib/test/
D_test_multiprocessing.py199 if (start_method := multiprocessing.get_start_method()) != "spawn":
213 if multiprocessing.get_start_method() != "spawn":
223 orig_start_method = multiprocessing.get_start_method(allow_none=True)
695 sm = multiprocessing.get_start_method()
750 sm = multiprocessing.get_start_method()
859 sm = multiprocessing.get_start_method()
5448 sm = multiprocessing.get_start_method()
5548 if multiprocessing.get_start_method() == 'fork':
5630 conn.send(multiprocessing.get_start_method())
5640 self.assertEqual(child_method, ctx.get_start_method())
[all …]
/external/python/cpython3/Lib/
Dcompileall.py101 if multiprocessing.get_start_method() == 'fork':
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py2876 if multiprocessing.get_start_method() == 'fork':
/external/python/cpython3/Doc/whatsnew/
D3.4.rst1130 available on the platform, :func:`~multiprocessing.get_start_method` reports
/external/python/cpython3/Doc/library/
Dmultiprocessing.rst1089 .. function:: get_start_method(allow_none=False)
/external/python/cpython3/Misc/
DHISTORY4195 get_all_start_methods, get_start_method, and set_start_method, to