mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
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:
parent
51117ed116
commit
4864590568
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue