summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pyclbr.py
diff options
context:
space:
mode:
authororlnub123 <orlnub123@gmail.com>2018-09-27 11:16:26 (GMT)
committerAntoine Pitrou <pitrou@free.fr>2018-09-27 11:16:26 (GMT)
commita94ee12c26aa8dd7dce01373779df8055aff765b (patch)
tree1b627f9fac54e8b0d6a88c8f62ecd785b40a5b8b /Lib/test/test_pyclbr.py
parent7291108d88ea31d205da4db19d202d6cbffc6d93 (diff)
downloadcpython-a94ee12c26aa8dd7dce01373779df8055aff765b.zip
cpython-a94ee12c26aa8dd7dce01373779df8055aff765b.tar.gz
cpython-a94ee12c26aa8dd7dce01373779df8055aff765b.tar.bz2
bpo-34819: Use a monotonic clock to compute timeouts in concurrent.futures (GH-9599)
Use a monotonic clock to compute timeouts in :meth:`Executor.map` and :func:`as_completed`, in order to prevent timeouts from deviating when the system clock is adjusted. This may not be sufficient on all systems. On POSIX for example, the actual waiting (e.g. in ``sem_timedwait``) is specified to rely on the CLOCK_REALTIME clock.
Diffstat (limited to 'Lib/test/test_pyclbr.py')
0 files changed, 0 insertions, 0 deletions