"src/include/gridwise_direct_convolution_1.hip.hpp" did not exist on "a5bcde36e3a53e6ee68ee48af96c7441f620f574"
Commit 498b1892 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

dist/sockets: ignore EINTR on epoll (for gdb)

parent f1cd04ea
......@@ -606,6 +606,9 @@ static int IOLoop() {
struct epoll_event evs[kNumEvs];
int n = epoll_wait(epfd, evs, kNumEvs, -1);
if (n < 0) {
if (errno == EINTR)
continue;
perror("IOLoop: epoll_wait failed");
return 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment