Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
498b1892
"...composable_kernel_rocm.git" did not exist on "0abc0f87db861cf25395ce9540ecb8e7f4821e4f"
Commit
498b1892
authored
Aug 24, 2021
by
Antoine Kaufmann
Browse files
dist/sockets: ignore EINTR on epoll (for gdb)
parent
f1cd04ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dist/sockets/net_sockets.c
dist/sockets/net_sockets.c
+3
-0
No files found.
dist/sockets/net_sockets.c
View file @
498b1892
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment