]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/cmd_ipc: workaround signal handling raciness
authorEric Wong <e@80x24.org>
Thu, 25 Mar 2021 04:20:25 +0000 (06:20 +0200)
committerEric Wong <e@80x24.org>
Thu, 25 Mar 2021 17:59:04 +0000 (17:59 +0000)
Perl can't check for interrupts when inside a blocking syscall,
as there's no self-pipe mechanism inside Perl itself.  So fork
a child and have it repeated kill(2) instead of relying on alarm(3).


No differences found