From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6687 invoked from network); 26 Mar 2023 02:02:59 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 26 Mar 2023 02:02:59 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Sat Mar 25 22:01:34 -0400 2023 Received: from abbatoir (pool-108-27-53-161.nycmny.fios.verizon.net [108.27.53.161]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 58384b28 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Sat, 25 Mar 2023 19:01:32 -0700 (PDT) Message-ID: <420FE028B13E6CBE5023CDC3C87FC2CE@eigenstate.org> To: 9front@9front.org Date: Sat, 25 Mar 2023 22:01:30 -0400 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: hosting enhancement-aware optimizer Subject: Re: [9front] recent upas/runq change Reply-To: 9front@9front.org Precedence: bulk Quoth Anthony Martin : > Doesn't forking without RFNOWAIT interfere with the job handling > mechanism in rundir? The new call to waitpid can consume the > waitmsg from an unrelated proc and return before the send in > returnmail finishes. > > I haven't run this new code, only read it. Am I missing something? > > Cheers, > Anthony I think you're right; I was the one that removed the RFNOWAIT in the first place, in 49d7ca8d92e5667f3e5ece4c6acbc1064701e2f8 I'll revert for now. It'd be really handy to have a `waitfor(pid)` function.