Signal registration and epoll_pwait interaction work.