[RFC PATCH 0/2] Linux: Add futex_waitv syscall wrapper

André Almeida <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.