Searched refs:set_start_method (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | mp_fork_bomb.py | 11 multiprocessing.set_start_method(sys.argv[1]) 13 multiprocessing.set_start_method('spawn')
|
D | _test_multiprocessing.py | 5029 self.assertRaises(ValueError, ctx.set_start_method, 'spawn') 5030 self.assertRaises(ValueError, ctx.set_start_method, None) 5040 multiprocessing.set_start_method(method, force=True) 5052 multiprocessing.set_start_method(old_method, force=True) 5743 multiprocessing.set_start_method(start_method, force=True) 5765 multiprocessing.set_start_method(old_start_method[0], force=True)
|
/external/python/cpython3/Lib/multiprocessing/ |
D | spawn.py | 16 from . import get_start_method, set_start_method 231 set_start_method(data['start_method'], force=True)
|
D | context.py | 200 def set_start_method(self, method, force=False): member in BaseContext 241 def set_start_method(self, method, force=False): member in DefaultContext
|
/external/python/cpython3/Doc/library/ |
D | multiprocessing.rst | 153 To select a start method you use the :func:`set_start_method` in 163 mp.set_start_method('spawn') 170 :func:`set_start_method` should not be used more than once in the 1049 .. function:: set_start_method(method) 2877 from multiprocessing import Process, freeze_support, set_start_method 2884 set_start_method('spawn')
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 1132 the current start method, and :func:`~multiprocessing.set_start_method` sets
|
/external/python/cpython3/Misc/ |
D | HISTORY | 4195 get_all_start_methods, get_start_method, and set_start_method, to
|