]> Sergey Matveev's repositories - public-inbox.git/commit
ds: block signals when reaping
authorEric Wong <e@80x24.org>
Sun, 10 Jan 2021 12:15:00 +0000 (12:15 +0000)
committerEric Wong <e@80x24.org>
Tue, 12 Jan 2021 03:51:42 +0000 (03:51 +0000)
commitb90e8d6e02852c47d0c08198d8c7afb5dbe008d7
treeea3b399fba66acbd5b67bb5d1b983340ddcc17d3
parentf4cf089b427d07bedb80fcfbe79d84234ad92a75
ds: block signals when reaping

This lets us call dwaitpid long before a process exits
and not have to wait around for it.

This is advantageous for lei where we can run dwaitpid on the
pager as soon as we spawn it, instead of waiting for a client
socket to go away on DESTROY.
lib/PublicInbox/DS.pm
lib/PublicInbox/Daemon.pm
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/IPC.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/Sigfd.pm
lib/PublicInbox/Watch.pm
script/public-inbox-watch
t/spawn.t