]> Sergey Matveev's repositories - public-inbox.git/commitdiff
watch: use EOFpipe to reduce dwaitpid wakeups
authorEric Wong <e@80x24.org>
Mon, 31 Aug 2020 04:41:38 +0000 (04:41 +0000)
committerEric Wong <e@80x24.org>
Tue, 1 Sep 2020 00:19:19 +0000 (00:19 +0000)
It's a bit inefficient to use a pipe, here.  However, using
dwaitpid() on a process that's not expected to exit soon is
also inefficient as it causes excessive wakeups as most of
our inbox-writing code expects synchronous waitpid().

This only affects -watch instances configured for NNTP and IMAP
clients.


No differences found