Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
|@@ -1 +1 @@|
|#define LIBUSB_NANO 11156|
|#define LIBUSB_NANO 11157|