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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should check the
epoll_waitreturn value, then if it’s-1compareerrnotoEINTRand, if so, retry the system call. This is usually done withcontinuein a loop.