> Sorry for hijacking - but out of interest, has anyone approached an > implementation of SIGCHLD either in the "go - plan9 reconciliation effort" or > in any of the "fix APE" efforts (if I remember correctly, it would be needed > for > an APE pthreads implementation)? > > My personal interest in this is that this is the only thing left to have > MirBSD Ksh fully functional (potentially an up-to-date and actively > maintained > sh for APE instead of the current pdksh).
i haven't done anything about SIGCHLD. in your case, i think a special little thread to call wait4 and kill(parent, SIGCHILD) would do. - erik