]> Sergey Matveev's repositories - public-inbox.git/commit
lei: use sleep(1) loop for infinite sleep
authorEric Wong <e@80x24.org>
Wed, 3 Feb 2021 08:11:42 +0000 (22:11 -1000)
committerEric Wong <e@80x24.org>
Thu, 4 Feb 2021 01:37:09 +0000 (01:37 +0000)
commita848cb1e2229e0b313271dad879f9a101e414316
tree4e58d3a7360d7f7663f6c490d1ada08eb6cae731
parent298751baed3ce7ae1549356152784b83220a31f0
lei: use sleep(1) loop for infinite sleep

Perl may internally race and miss signals due to a lack of
self-pipe / eventfd / signalfd / EVFILT_SIGNAL usage.  While our
event loop paths avoid these problems by using signalfd or
EVFILT_SIGNAL, thse sleep() calls are not within the event loop.
lib/PublicInbox/LEI.pm
script/lei