mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
![]() 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. |
||
---|---|---|
.. | ||
__init__.py | ||
_base.py | ||
process.py | ||
thread.py |