Please sign in to comment.
linux_udev: Retry poll() on EINTR
The poll() syscall may temporarily fail when it is interrupted by a signal; -1 is returned and errno is set to EINTR. When this occurred, the udev event thread exited. Instead, since this is a temporary failure, just try the call again. <https://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html> Signed-off-by: Romain Vimont <email@example.com> Signed-off-by: Hans de Goede <firstname.lastname@example.org>
- Loading branch information...
Showing with 6 additions and 2 deletions.