From: Eric Wong Date: Sat, 21 Jan 2023 08:58:19 +0000 (+0000) Subject: ds: awaitpid: do not clobber entries for reaped processes X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=fa5aad1d5f3c5abaa28a49181674930f2e06066e;hp=fa5aad1d5f3c5abaa28a49181674930f2e06066e;p=public-inbox.git ds: awaitpid: do not clobber entries for reaped processes 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. ---