Skip to content

Commit

Permalink
Update monitor.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
5ec1cff authored Dec 22, 2023
1 parent dce2937 commit 0741a35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion loader/src/ptracer/monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ struct EventLoop {
while (running) {
int nfds = epoll_wait(epoll_fd_, events, MAX_EVENTS, -1);
if (nfds == -1) {
PLOGE("epoll_wait");
if (errno != EINTR)
PLOGE("epoll_wait");
continue;
}
for (int i = 0; i < nfds; i++) {
Expand Down

0 comments on commit 0741a35

Please sign in to comment.