STINNER Victor <vstin...@python.org> added the comment:
bpo-23428 modified the pthread implementation of conditional variable to use pthread_condattr_setclock(&ca, CLOCK_MONOTONIC) is available: commit 001fee14e0f2ba5f41fb733adc69d5965925a094. The change should be part of Python 3.8. What is your sys.thread_info value? Example on Fedora 32 with Python 3.8.5: >>> sys.thread_info sys.thread_info(name='pthread', lock='semaphore', version='NPTL 2.31') Sadly, the semaphore implementation doesn't use monotonic clock. See glibc issues: * https://sourceware.org/bugzilla/show_bug.cgi?id=14717 * https://bugzilla.kernel.org/show_bug.cgi?id=112521 ---------- nosy: +inada.naoki, vstinner _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41710> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com