9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] recent upas/runq change
Date: Sat, 25 Mar 2023 22:01:30 -0400	[thread overview]
Message-ID: <420FE028B13E6CBE5023CDC3C87FC2CE@eigenstate.org> (raw)
In-Reply-To: <ZB+YbtCfhrrn6WyW@alice>

Quoth Anthony Martin <ality@pbrane.org>:
> 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.


      reply	other threads:[~2023-03-26  2:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-26  0:57 Anthony Martin
2023-03-26  2:01 ` ori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=420FE028B13E6CBE5023CDC3C87FC2CE@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).