+ if (read(wake_fd, &dummy, sizeof(dummy)) != sizeof(dummy) && + errno != EAGAIN)
Hm, now that I look at this again, I think you might be missing && errno != EINTR?
« Back to merge proposal
+ if (read(wake_fd, &dummy, sizeof(dummy)) != sizeof(dummy) &&
+ errno != EAGAIN)
Hm, now that I look at this again, I think you might be missing && errno != EINTR?