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.
This commit is contained in:
Victor Stinner 2012-03-15 01:22:16 +01:00
parent 071eca3f5c
commit 3d7c878fe3
3 changed files with 6 additions and 2 deletions

View file

@ -6,7 +6,7 @@ except ImportError:
import dummy_threading as threading
from collections import deque
from heapq import heappush, heappop
from time import time
from time import steady as time
__all__ = ['Empty', 'Full', 'Queue', 'PriorityQueue', 'LifoQueue']