Fix timeout handling in futex_requeue_pi.c

The waiter would report an error on ETIMEDOUT, even when that was
expected. Check and only report ETIMEDOUT if no timeout is specified.

The timespec generation math hit 32bit overflow for large timeout
values. Cast to int64_t to avoid overflow.

Signed-off-by: Darren Hart <>
1 file changed
tree: 8a04b06f486a84d761316819e2a08cff35d2fac9
  1. functional/
  2. include/
  3. performance/
  4. stress/
  5. .gitignore
  6. Makefile