Home
last modified time | relevance | path

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

/third_party/python/Lib/test/test_importlib/
Dtest_locks.py47 support.setswitchinterval(0.000001)
53 sys.setswitchinterval(self.old_switchinterval)
Dtest_threaded_import.py266 unittest.addModuleCleanup(sys.setswitchinterval, old_switchinterval)
267 sys.setswitchinterval(1e-5)
/third_party/python/Lib/test/
Dtest_sys.py193 self.assertRaises(TypeError, sys.setswitchinterval)
194 self.assertRaises(TypeError, sys.setswitchinterval, "a")
195 self.assertRaises(ValueError, sys.setswitchinterval, -1.0)
196 self.assertRaises(ValueError, sys.setswitchinterval, 0.0)
202 sys.setswitchinterval(n)
205 sys.setswitchinterval(orig)
Dtest_threading.py420 sys.setswitchinterval(i * 0.0002)
428 sys.setswitchinterval(old_interval)
568 self.addCleanup(sys.setswitchinterval, old_interval)
571 test.support.setswitchinterval(1e-6)
Dtest_gc.py412 sys.setswitchinterval(1e-5)
422 sys.setswitchinterval(old_switchinterval)
Dtest_concurrent_futures.py699 sys.setswitchinterval(1e-6)
705 sys.setswitchinterval(oldswitchinterval)
Dtest_functools.py1566 support.setswitchinterval(1e-6)
1592 sys.setswitchinterval(orig_si)
2808 sys.setswitchinterval(1e-6)
2817 sys.setswitchinterval(orig_si)
D_test_multiprocessing.py4385 sys.setswitchinterval(1e-6)
4395 sys.setswitchinterval(old_interval)
/third_party/python/Tools/ccbench/
Dccbench.py574 sys.setswitchinterval(options.switch_interval)
/third_party/python/Lib/test/support/
D__init__.py1721 def setswitchinterval(interval): function
1733 return sys.setswitchinterval(interval)
/third_party/python/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
/third_party/python/Doc/tutorial/
Dmodules.rst328 'setprofile', 'setrecursionlimit', 'setswitchinterval', 'settrace', 'stderr',
/third_party/python/Doc/library/
Dtest.rst484 .. function:: setswitchinterval(interval)
486 Set the :func:`sys.setswitchinterval` to the given *interval*. Defines
Dsys.rst732 :func:`setswitchinterval`.
1354 .. function:: setswitchinterval(interval)
/third_party/python/Doc/c-api/
Dinit.rst696 .. index:: single: setswitchinterval() (in module sys)
701 tries to switch threads (see :func:`sys.setswitchinterval`). The lock is also
/third_party/python/Doc/faq/
Dlibrary.rst371 be set via :func:`sys.setswitchinterval`. Each bytecode instruction and
/third_party/python/Doc/whatsnew/
D3.9.rst963 :func:`sys.getswitchinterval` and :func:`sys.setswitchinterval` instead.
D3.2.rst2319 seconds. This parameter is tunable through :func:`sys.setswitchinterval()`.