Update monitor.cpp

This commit is contained in:
5ec1cff
2023-12-22 09:28:40 +08:00
committed by GitHub
parent dce2937ba0
commit 0741a35c8f

View File

@@ -77,7 +77,8 @@ public:
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++) {