]> Sergey Matveev's repositories - public-inbox.git/commit
replace ParentPipe with EOFpipe
authorEric Wong <e@80x24.org>
Mon, 31 Aug 2020 04:41:40 +0000 (04:41 +0000)
committerEric Wong <e@80x24.org>
Tue, 1 Sep 2020 00:19:21 +0000 (00:19 +0000)
commit0877ff2595baf86c10b27b6dd2364f5235457430
treefb66681321905423a411b5f5ad15b593a93a04bb
parent823dbcacf7829fd0f42748ae7712a76fa4c64a76
replace ParentPipe with EOFpipe

ParentPipe was a subset of EOFpipe, except EOFpipe correctly
accounts for theoretical(*) spurious wakeups on the pipe.

(*) AFAIK, spurious wakeups are/were more likely on TCP sockets
    due to checksum failures, something that's not a problem on
    local pipes.  We're also not sharing pipes like we do with
    listen sockets on accept(2), so there's no chance of another
    process grabbing bytes (unless we have bugs in our code).
MANIFEST
lib/PublicInbox/Daemon.pm
lib/PublicInbox/ParentPipe.pm [deleted file]