Searched refs:get_start_method (Results 1 – 12 of 12) sorted by relevance
| /external/python/cpython3/Lib/test/test_concurrent_futures/ |
| D | test_process_pool.py | 123 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":
|
| D | test_shutdown.py | 261 if mp_context.get_start_method(allow_none=False) == "fork":
|
| /external/python/cpython3/Lib/multiprocessing/ |
| D | spawn.py | 16 from . import get_start_method, set_start_method 187 start_method=get_start_method(),
|
| D | context.py | 197 def get_start_method(self, allow_none=False): member in BaseContext 253 def get_start_method(self, allow_none=False): member in DefaultContext
|
| D | synchronize.py | 53 self._is_fork_ctx = ctx.get_start_method() == 'fork'
|
| /external/python/cpython3/Lib/concurrent/futures/ |
| D | process.py | 677 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.py | 199 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/ |
| D | compileall.py | 101 if multiprocessing.get_start_method() == 'fork':
|
| /external/python/cpython3/Lib/test/test_asyncio/ |
| D | test_events.py | 2876 if multiprocessing.get_start_method() == 'fork':
|
| /external/python/cpython3/Doc/whatsnew/ |
| D | 3.4.rst | 1130 available on the platform, :func:`~multiprocessing.get_start_method` reports
|
| /external/python/cpython3/Doc/library/ |
| D | multiprocessing.rst | 1089 .. function:: get_start_method(allow_none=False)
|
| /external/python/cpython3/Misc/ |
| D | HISTORY | 4195 get_all_start_methods, get_start_method, and set_start_method, to
|