Revert "linux(4): The futex_wait operation should restart."

This reverts commit 5eec19c8eb due to its
wrong. Linux interrupts futex syscall on signal and return EINTR.
This commit is contained in:
Dmitry Chagin 2023-06-11 12:47:27 +03:00
parent 51117ed116
commit 4864590568

View file

@ -786,6 +786,8 @@ linux_futex_wait(struct thread *td, struct linux_futex_args *args)
}
umtxq_unlock(&uq->uq_key);
umtx_key_release(&uq->uq_key);
if (error == ERESTART)
error = EINTR;
return (error);
}