Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dmp_fork_bomb.py11 multiprocessing.set_start_method(sys.argv[1])
13 multiprocessing.set_start_method('spawn')
D_test_multiprocessing.py5029 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/
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
/external/python/cpython3/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
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/
D3.4.rst1132 the current start method, and :func:`~multiprocessing.set_start_method` sets
/external/python/cpython3/Misc/
DHISTORY4195 get_all_start_methods, get_start_method, and set_start_method, to