diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-03-15 00:22:16 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-03-15 00:22:16 (GMT) |
commit | 3d7c878fe370e59b142bac9bc32c67b4ac9d949e (patch) | |
tree | e987b46bdd66b5b8dd7d1b59da4c46d782131676 /Lib/threading.py | |
parent | 071eca3f5c55f127f754bd5575123ec94d8c3eaa (diff) | |
download | cpython-3d7c878fe370e59b142bac9bc32c67b4ac9d949e.zip cpython-3d7c878fe370e59b142bac9bc32c67b4ac9d949e.tar.gz cpython-3d7c878fe370e59b142bac9bc32c67b4ac9d949e.tar.bz2 |
Issue #14222: Use the new time.steady() function instead of time.time() for
timeout in queue and threading modules to not be affected of system time
update.
Diffstat (limited to 'Lib/threading.py')
-rw-r--r-- | Lib/threading.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/threading.py b/Lib/threading.py index 441c7bd..197dec4 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -3,7 +3,7 @@ import sys as _sys import _thread -from time import time as _time, sleep as _sleep +from time import steady as _time, sleep as _sleep from traceback import format_exc as _format_exc from _weakrefset import WeakSet |