On Wed, Apr 7, 2021 at 7:31 PM Robins Tharakan <tharakan@gmail.com> wrote:
> Correct. This is easily reproducible on this test-instance, so let me know if you want me to test a patch.
From your description it sounds like signals are not arriving at all,
rather than some more complicated race. Let's go back to basics...
what does the attached program print for you? I see:
tmunro@x1:~/junk$ cc test-signalfd.c
tmunro@x1:~/junk$ ./a.out
blocking SIGURG...
creating a signalfd to receive SIGURG...
creating an epoll set...
adding signalfd to epoll set...
polling the epoll set... 0
sending a signal...
polling the epoll set... 1