Home
last modified time | relevance | path

Searched refs:setswitchinterval (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/
Dtest_locks.py45 support.setswitchinterval(0.000001)
51 sys.setswitchinterval(self.old_switchinterval)
Dtest_threaded_import.py253 sys.setswitchinterval(1e-5)
260 sys.setswitchinterval(old_switchinterval)
/external/python/cpython3/Lib/test/
Dtest_sys.py191 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)
Dtest_threading.py375 sys.setswitchinterval(i * 0.0002)
383 sys.setswitchinterval(old_interval)
503 self.addCleanup(sys.setswitchinterval, old_interval)
506 test.support.setswitchinterval(1e-6)
Dtest_gc.py411 sys.setswitchinterval(1e-5)
421 sys.setswitchinterval(old_switchinterval)
Dtest_concurrent_futures.py673 sys.setswitchinterval(1e-6)
679 sys.setswitchinterval(oldswitchinterval)
Dtest_functools.py1527 support.setswitchinterval(1e-6)
1553 sys.setswitchinterval(orig_si)
2520 sys.setswitchinterval(1e-6)
2529 sys.setswitchinterval(orig_si)
D_test_multiprocessing.py4250 sys.setswitchinterval(1e-6)
4260 sys.setswitchinterval(old_interval)
/external/python/cpython3/Tools/ccbench/
Dccbench.py574 sys.setswitchinterval(options.switch_interval)
/external/python/cpython2/Tools/ccbench/
Dccbench.py577 sys.setswitchinterval(options.switch_interval)
/external/python/cpython3/Lib/test/support/
D__init__.py2759 def setswitchinterval(interval): function
2770 return sys.setswitchinterval(interval)
/external/python/cpython3/Misc/NEWS.d/
D3.6.1rc1.rst843 Add the support.setswitchinterval() function to fix test_functools hanging
D3.9.0a1.rst796 :func:`sys.setswitchinterval` instead. Remove also ``check_interval`` field
D3.7.0a1.rst5069 Add the support.setswitchinterval() function to fix test_functools hanging
/external/python/cpython3/Doc/tutorial/
Dmodules.rst327 'setprofile', 'setrecursionlimit', 'setswitchinterval', 'settrace', 'stderr',
/external/python/cpython3/Doc/library/
Dtest.rst577 .. function:: setswitchinterval(interval)
579 Set the :func:`sys.setswitchinterval` to the given *interval*. Defines
Dsys.rst702 :func:`setswitchinterval`.
1288 .. function:: setswitchinterval(interval)
/external/python/cpython3/Doc/c-api/
Dinit.rst659 .. index:: single: setswitchinterval() (in module sys)
664 tries to switch threads (see :func:`sys.setswitchinterval`). The lock is also
/external/python/cpython3/Doc/faq/
Dlibrary.rst374 be set via :func:`sys.setswitchinterval`. Each bytecode instruction and
/external/python/cpython3/Doc/whatsnew/
D3.9.rst955 :func:`sys.getswitchinterval` and :func:`sys.setswitchinterval` instead.
D3.2.rst2319 seconds. This parameter is tunable through :func:`sys.setswitchinterval()`.