9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] recent upas/runq change
@ 2023-03-26  0:57 Anthony Martin
  2023-03-26  2:01 ` ori
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Martin @ 2023-03-26  0:57 UTC (permalink / raw)
  To: 9front

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] recent upas/runq change
  2023-03-26  0:57 [9front] recent upas/runq change Anthony Martin
@ 2023-03-26  2:01 ` ori
  0 siblings, 0 replies; 2+ messages in thread
From: ori @ 2023-03-26  2:01 UTC (permalink / raw)
  To: 9front

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-26  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-26  0:57 [9front] recent upas/runq change Anthony Martin
2023-03-26  2:01 ` ori

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).