"...composable_kernel_rocm.git" did not exist on "0abc0f87db861cf25395ce9540ecb8e7f4821e4f"
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