Home
last modified time | relevance | path

Searched refs:set_start_method (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/test/
Dmp_fork_bomb.py11 multiprocessing.set_start_method(sys.argv[1])
13 multiprocessing.set_start_method('spawn')
D_test_multiprocessing.py5164 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/
Dspawn.py16 from . import get_start_method, set_start_method
231 set_start_method(data['start_method'], force=True)
Dcontext.py200 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/
Dmultiprocessing.rst153 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/
D3.4.rst1132 the current start method, and :func:`~multiprocessing.set_start_method` sets
/third_party/python/Misc/
DHISTORY4195 get_all_start_methods, get_start_method, and set_start_method, to