Searched refs:set_start_method (Results 1 – 7 of 7) sorted by relevance
/third_party/python/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 | 5164 self.assertRaises(ValueError, ctx.set_start_method, 'spawn') 5165 self.assertRaises(ValueError, ctx.set_start_method, None) 5175 multiprocessing.set_start_method(method, force=True) 5187 multiprocessing.set_start_method(old_method, force=True) 5880 multiprocessing.set_start_method(start_method, force=True) 5902 multiprocessing.set_start_method(old_start_method[0], force=True)
|
/third_party/python/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
|
/third_party/python/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 1056 .. function:: set_start_method(method) 2927 from multiprocessing import Process, freeze_support, set_start_method 2934 set_start_method('spawn')
|
/third_party/python/Doc/whatsnew/ |
D | 3.4.rst | 1132 the current start method, and :func:`~multiprocessing.set_start_method` sets
|
/third_party/python/Misc/ |
D | HISTORY | 4195 get_all_start_methods, get_start_method, and set_start_method, to
|