FUTEX_REQUEUE
wake some waiters, and requeue others
- Provided by: manpages-dev (Version: 6.17-1)
- Source: manpages
- Report a bug
wake some waiters, and requeue others
Standard C library (libc, -lc)
#include <linux/futex.h> /* Definition of FUTEX_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>
long syscall(SYS_futex, uint32_t *uaddr, FUTEX_REQUEUE,
uint32_t val, uint32_t val2, uint32_t *uaddr2);
This operation performs the same task as FUTEX_CMP_REQUEUE(2const), except that the futex word isn't compared.
On error, -1 is returned, and errno is set to indicate the error.
On success, FUTEX_REQUEUE returns the number of waiters that were woken up.
See futex(2).
Linux.
Linux 2.6.0.