[issue12822] threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC)

STINNER Victor report at bugs.python.org
Fri Oct 1 04:52:42 EDT 2021


Change by STINNER Victor <vstinner at python.org>:


----------
title: NewGIL should use CLOCK_MONOTONIC if possible. -> threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC)

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue12822>
_______________________________________


More information about the Python-bugs-list mailing list