Searched refs:setswitchinterval (Results 1 – 21 of 21) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_locks.py | 45 support.setswitchinterval(0.000001) 51 sys.setswitchinterval(self.old_switchinterval)
|
D | test_threaded_import.py | 253 sys.setswitchinterval(1e-5) 260 sys.setswitchinterval(old_switchinterval)
|
/external/python/cpython3/Lib/test/ |
D | test_sys.py | 191 self.assertRaises(TypeError, sys.setswitchinterval) 192 self.assertRaises(TypeError, sys.setswitchinterval, "a") 193 self.assertRaises(ValueError, sys.setswitchinterval, -1.0) 194 self.assertRaises(ValueError, sys.setswitchinterval, 0.0) 200 sys.setswitchinterval(n) 203 sys.setswitchinterval(orig)
|
D | test_threading.py | 375 sys.setswitchinterval(i * 0.0002) 383 sys.setswitchinterval(old_interval) 503 self.addCleanup(sys.setswitchinterval, old_interval) 506 test.support.setswitchinterval(1e-6)
|
D | test_gc.py | 411 sys.setswitchinterval(1e-5) 421 sys.setswitchinterval(old_switchinterval)
|
D | test_concurrent_futures.py | 673 sys.setswitchinterval(1e-6) 679 sys.setswitchinterval(oldswitchinterval)
|
D | test_functools.py | 1527 support.setswitchinterval(1e-6) 1553 sys.setswitchinterval(orig_si) 2520 sys.setswitchinterval(1e-6) 2529 sys.setswitchinterval(orig_si)
|
D | _test_multiprocessing.py | 4250 sys.setswitchinterval(1e-6) 4260 sys.setswitchinterval(old_interval)
|
/external/python/cpython3/Tools/ccbench/ |
D | ccbench.py | 574 sys.setswitchinterval(options.switch_interval)
|
/external/python/cpython2/Tools/ccbench/ |
D | ccbench.py | 577 sys.setswitchinterval(options.switch_interval)
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 2759 def setswitchinterval(interval): function 2770 return sys.setswitchinterval(interval)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.1rc1.rst | 843 Add the support.setswitchinterval() function to fix test_functools hanging
|
D | 3.9.0a1.rst | 796 :func:`sys.setswitchinterval` instead. Remove also ``check_interval`` field
|
D | 3.7.0a1.rst | 5069 Add the support.setswitchinterval() function to fix test_functools hanging
|
/external/python/cpython3/Doc/tutorial/ |
D | modules.rst | 327 'setprofile', 'setrecursionlimit', 'setswitchinterval', 'settrace', 'stderr',
|
/external/python/cpython3/Doc/library/ |
D | test.rst | 577 .. function:: setswitchinterval(interval) 579 Set the :func:`sys.setswitchinterval` to the given *interval*. Defines
|
D | sys.rst | 702 :func:`setswitchinterval`. 1288 .. function:: setswitchinterval(interval)
|
/external/python/cpython3/Doc/c-api/ |
D | init.rst | 659 .. index:: single: setswitchinterval() (in module sys) 664 tries to switch threads (see :func:`sys.setswitchinterval`). The lock is also
|
/external/python/cpython3/Doc/faq/ |
D | library.rst | 374 be set via :func:`sys.setswitchinterval`. Each bytecode instruction and
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.9.rst | 955 :func:`sys.getswitchinterval` and :func:`sys.setswitchinterval` instead.
|
D | 3.2.rst | 2319 seconds. This parameter is tunable through :func:`sys.setswitchinterval()`.
|