]> Sergey Matveev's repositories - public-inbox.git/commitdiff
ds: awaitpid: do not clobber entries for reaped processes
authorEric Wong <e@80x24.org>
Sat, 21 Jan 2023 08:58:19 +0000 (08:58 +0000)
committerEric Wong <e@80x24.org>
Sat, 21 Jan 2023 16:33:22 +0000 (16:33 +0000)
We must only write to $AWAIT_PIDS on the initial reap attempt.
While we're at it, avoid triggering an extra wakeup if we're
doing synchronous awaitpid.  This seems to eliminate most
reliance on Qspawn->DESTROY to call Qspawn->finalize.


No differences found