diff options
-rw-r--r-- | Lib/threading.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/threading.py b/Lib/threading.py index d2ab9ed..3b4b6b1 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -416,9 +416,9 @@ class Thread(_Verbose): if __debug__: self._note("%s.join(): thread stopped", self) else: - deadline = time.time() + timeout + deadline = _time() + timeout while not self.__stopped: - delay = deadline - time.time() + delay = deadline - _time() if delay <= 0: if __debug__: self._note("%s.join(): timed out", self) |