On Fri Jul 26 12:30:20 EDT 2013, cinap_len...@gmx.de wrote:
> 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.

we may also have to do this if we wish to support pthreads with processes.
pthreads allow one thread to wait for the children started by a second thread.

- erik

Reply via email to