I cannot run my code in debugging using gdb due to the following error:
Unable to execute epoll_wait: (4) Interrupted system call
Any ideas on how to solve this?
thanks
You should check the return value of epoll_wait , and then -1 compare errno with EINTR and, if so, repeat the system call. This is usually done using continue in a loop.
epoll_wait
-1
errno
EINTR
continue