Files
8955af517a [3.15] gh-153005: Use a monotonic clock for concurrent.interpreters Queue timeouts (GH-154156) (GH-155967)
Queue.get() and Queue.put() computed their timeout deadline from
time.time(), the wall clock. If the system clock was stepped (NTP, a
manual change) while a call was blocked, the timeout could over- or
under-wait. queue.Queue uses time.monotonic() for the same reason.

Compute the deadline and check it against time.monotonic() instead.
(cherry picked from commit b94b9c8886)

Co-authored-by: Vyron Vasileiadis <[email protected]>
2026-10-10 12:53:18 +03:00
..