Searched refs:setswitchinterval (Results 1 – 20 of 20) sorted by relevance
/third_party/python/Lib/test/test_importlib/ |
D | test_locks.py | 47 support.setswitchinterval(0.000001) 53 sys.setswitchinterval(self.old_switchinterval)
|
D | test_threaded_import.py | 266 unittest.addModuleCleanup(sys.setswitchinterval, old_switchinterval) 267 sys.setswitchinterval(1e-5)
|
/third_party/python/Lib/test/ |
D | test_sys.py | 193 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)
|
D | test_threading.py | 420 sys.setswitchinterval(i * 0.0002) 428 sys.setswitchinterval(old_interval) 568 self.addCleanup(sys.setswitchinterval, old_interval) 571 test.support.setswitchinterval(1e-6)
|
D | test_gc.py | 412 sys.setswitchinterval(1e-5) 422 sys.setswitchinterval(old_switchinterval)
|
D | test_concurrent_futures.py | 699 sys.setswitchinterval(1e-6) 705 sys.setswitchinterval(oldswitchinterval)
|
D | test_functools.py | 1566 support.setswitchinterval(1e-6) 1592 sys.setswitchinterval(orig_si) 2808 sys.setswitchinterval(1e-6) 2817 sys.setswitchinterval(orig_si)
|
D | _test_multiprocessing.py | 4385 sys.setswitchinterval(1e-6) 4395 sys.setswitchinterval(old_interval)
|
/third_party/python/Tools/ccbench/ |
D | ccbench.py | 574 sys.setswitchinterval(options.switch_interval)
|
/third_party/python/Lib/test/support/ |
D | __init__.py | 1721 def setswitchinterval(interval): function 1733 return sys.setswitchinterval(interval)
|
/third_party/python/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
|
/third_party/python/Doc/library/ |
D | test.rst | 484 .. function:: setswitchinterval(interval) 486 Set the :func:`sys.setswitchinterval` to the given *interval*. Defines
|
D | sys.rst | 721 :func:`setswitchinterval`. 1323 .. function:: setswitchinterval(interval)
|
/third_party/python/Doc/tutorial/ |
D | modules.rst | 328 'setprofile', 'setrecursionlimit', 'setswitchinterval', 'settrace', 'stderr',
|
/third_party/python/Doc/c-api/ |
D | init.rst | 696 .. index:: single: setswitchinterval() (in module sys) 701 tries to switch threads (see :func:`sys.setswitchinterval`). The lock is also
|
/third_party/python/Doc/faq/ |
D | library.rst | 371 be set via :func:`sys.setswitchinterval`. Each bytecode instruction and
|
/third_party/python/Doc/whatsnew/ |
D | 3.9.rst | 963 :func:`sys.getswitchinterval` and :func:`sys.setswitchinterval` instead.
|
D | 3.2.rst | 2319 seconds. This parameter is tunable through :func:`sys.setswitchinterval()`.
|