Module Name: src Committed By: riastradh Date: Sat Jan 18 06:22:56 UTC 2025
Modified Files: src/tests/lib/libc/sys: t_futex_ops.c Log Message: tests/lib/libc/sys/t_futex_ops: Fix FUTEX_CMP_REQUEUE return values. The return value is the number of waiters woken _or requeued_, not just the number of waiters woken: FUTEX_CMP_REQUEUE Returns the total number of waiters that were woken up or requeued to the futex for the futex word at uaddr2. If this value is greater than val, then the difference is the number of waiters requeued to the futex for the futex word at uaddr2. https://man7.org/linux/man-pages/man2/futex.2.html PR kern/56828: futex calls in Linux emulation sometimes hang To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/sys/t_futex_ops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.