# Re: \[PATCH 16/20\] futex: Implement sys\_futex\_waitv()

- List: linux-api
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-api/2021/09/1509510/t

## Re: \[PATCH 16/20\] futex: Implement sys\_futex\_waitv()

- From: André Almeida \<hidden\>
- Date: 2021-09-15 15:21:09 
- Message: https://ratatoskr.run/linux-api/2021/09/1509510.md

```text
Às 11:07 de 15/09/21, Peter Zijlstra escreveu:
> From: André Almeida <redacted>
> 
> Add support to wait on multiple futexes. This is the interface
> implemented by this syscall:
> 
> futex_waitv(struct futex_waitv *waiters, unsigned int nr_futexes,
> 	    unsigned int flags, struct timespec *timo)
> 
> --- a/include/uapi/asm-generic/unistd.h
> +++ b/include/uapi/asm-generic/unistd.h
> @@ -880,8 +880,11 @@ __SYSCALL(__NR_memfd_secret, sys_memfd_s
>  #define __NR_process_mrelease 448
>  __SYSCALL(__NR_process_mrelease, sys_process_mrelease)
>  
> +#define __NR_futex_waitv 449
> +__SC_COMP(__NR_futex_waitv, sys_futex_waitv)
> +

Oops, this should be __SYSCALL(), and not __SC_COMP(), my bad.
```
