[RFC PATCH 0/2] Linux: Add futex_waitv syscall wrapper
André Almeida
andrealmeid@igalia.com
Fri Aug 14 18:36:10 GMT 2026
Hi folks,
Based on a talk on last LPC by Carlos O'Donell[1], I'm sending this patch as a
starting point to add the futex_waitv() syscall wrapper.
I tried to base myself on the work done for others wrappers, but I see that
there are missing details in my implementation, so I'm seeking guidance on how
to approach this.
Thanks!
André
[1] https://lpc.events/event/19/contributions/2220/
André Almeida (2):
Linux: Add futex_waitv
misc: tst-futex: Create futex test
include/sys/futex.h | 4 ++
sysdeps/unix/sysv/linux/Makefile | 3 +
sysdeps/unix/sysv/linux/futex_waitv.c | 32 +++++++++
sysdeps/unix/sysv/linux/sys/futex.h | 24 +++++++
sysdeps/unix/sysv/linux/tst-futex.c | 93 +++++++++++++++++++++++++++
5 files changed, 156 insertions(+)
create mode 100644 include/sys/futex.h
create mode 100644 sysdeps/unix/sysv/linux/futex_waitv.c
create mode 100644 sysdeps/unix/sysv/linux/sys/futex.h
create mode 100644 sysdeps/unix/sysv/linux/tst-futex.c
--
2.55.0
More information about the Libc-alpha
mailing list