My epoll_wait is not working due to EINTR. My gdb trace shows this:
enter code here 221 in ../nptl/sysdeps/pthread/createthread.c (gdb) 224 in ../nptl/sysdeps/pthread/createthread.c (gdb) [New Thread 0x40988490 (LWP 3589)] 227 in ../nptl/sysdeps/pthread/createthread.c (gdb) epoll_wait error in start timer: Measurement will befor entire duration of execution epoll_wait: Interrupted system call [Thread 0x40988490 (LWP 3589) exited]
This line "epoll_wait error in the start timer: measurement will be for the entire duration of execution" will be printed by me in stderr.
I cannot figure out how to fix this EINTR so that epoll_wait can work. Any idea how this EINTR is generated by the GDB trace?
Please help me (this is urgent). Thanks in advance.
source share