开发者

gdb error: Unable to execute epoll_wait: (4) Interrupted system call

开发者 https://www.devze.com 2022-12-20 12:45 出处:网络
I am unable to run my code in debug using gdb because of the following error: 开发者_开发技巧Unable to execute epoll_wait: (4) Interrupted system call

I am unable to run my code in debug using gdb because of the following error:

开发者_开发技巧Unable to execute epoll_wait: (4) Interrupted system call

Any ideas on how to solve this?

Thanks


You should check the epoll_wait return value, then if it's -1 compare errno to EINTR and, if so, retry the system call. This is usually done with continue in a loop.

0

精彩评论

暂无评论...
验证码 换一张
取 消