9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de
To: 9fans@9fans.net
Subject: Re: [9fans] MirOS ksh (mksh) building out-of-the box on Plan9/APE
Date: Fri, 26 Jul 2013 18:26:01 +0200	[thread overview]
Message-ID: <c6ae82c24cabd68a535451350749816c@gmx.de> (raw)
In-Reply-To: <20130726085930.6909f7e9@Krypton>

plan9 kernel doesnt send notes on process exit to the parent. i do
not see any trivial way to emulate SIGCHLD as ape might spawn also
native processes so we cannot just add code to ape to emit the signal
on exit.

we might handle wait records in a separate process tho using the devproc's
wait file (that means also we would need to reimplement the various
wait functions in ape as one would get a Einuse error on wait() when
someone reads your wait file, ugh) and also generate a signal.

but its not trivial :(

--
cinap



  reply	other threads:[~2013-07-26 16:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26  6:59 Jens Staal
2013-07-26 16:26 ` cinap_lenrek [this message]
2013-07-26 17:01   ` erik quanstrom
2013-07-27  5:48     ` Jens Staal
2013-07-27 14:01       ` erik quanstrom
2013-07-27 15:11         ` Aram Hăvărneanu
2013-07-27 15:23           ` erik quanstrom
2013-07-27 21:39             ` Kurt H Maier
2013-07-27 21:43               ` erik quanstrom
2013-07-27 22:39                 ` Aram Hăvărneanu
2013-07-28  0:55                   ` erik quanstrom
2013-07-28  5:38                 ` lucio
2013-08-16  7:26 ` Jens Staal

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=c6ae82c24cabd68a535451350749816c@gmx.de \
    --to=cinap_lenrek@gmx.de \
    --cc=9fans@9fans.net \
    /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).