summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d7c2342)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- ret = poll(events->wait.events, events->wait.nb_fd, timeout);
+ do {
+ ret = poll(events->wait.events, events->wait.nb_fd, timeout);
+ } while (ret == -1 && errno == EINTR);
if (ret < 0) {
/* At this point, every error is fatal */
PERROR("poll wait");
if (ret < 0) {
/* At this point, every error is fatal */
PERROR("poll wait");