mirror of
https://review.haiku-os.org/haiku
synced 2025-02-12 08:39:18 +01:00
* otherwise the signal to be handled might be blocked. fixes #15193 * also remove automatic syscall restart on _kern_select, to match Linux and BSDs behavior: this fixes parallel build with newer gnu make, which happens to use pselect. * also remove automatic syscall restart on _kern_poll. from https://man7.org/linux/man-pages/man7/signal.7.html "The following interfaces are never restarted after being interrupted by a signal handler, regardless of the use of SA_RESTART; they always fail with the error EINTR when interrupted by a signal handler: ... select(2), and pselect(2)." from https://notes.shichao.io/unp/ch6/ "Berkeley-derived kernels never automatically restart select." Change-Id: I7f86d221eae1ad93d8a308a75581d2c30a369c9e Reviewed-on: https://review.haiku-os.org/c/haiku/+/3627 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com>