git-rt-timedwait-realtime
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 18 Jun 2025 04:49:31 +0000 (06:49 +0200)
committerAurelien Jarno <aurel32@debian.org>
Wed, 18 Jun 2025 04:49:31 +0000 (06:49 +0200)
commit03751c8a7ddfd7e304f371bde5ecc2a4e7d74af7
treeb14ead7b9a50e31945b83ff25aa0cd82ba09688a
parent412a801a86925abba98c17e36f0ced11cc81d4f4
git-rt-timedwait-realtime

commit 5293b5ec02706bad449ea5eccd0058257a369638
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Mar 9 22:25:14 2025 +0100

    aio_suspend64: Fix clock discrepancy [BZ #32795]

    cc5d5852c65e ("y2038: Convert aio_suspend to support 64 bit time")
    switched from __clock_gettime (CLOCK_REALTIME, &now); to __clock_gettime64
    (CLOCK_MONOTONIC, &ts);, but pthread_cond_timedwait is based on the
    absolute realtime clock, so migrate to using pthread_cond_clockwait to
    select CLOCK_MONOTONIC. Also fix AIO_MISC_WAIT into passing
    CLOCK_MONOTONIC to __futex_abstimed_wait64.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-rt-timedwait-realtime.diff
rt/aio_suspend.c
sysdeps/nptl/aio_misc.h