Charles Lane wrote:
!We have our own version of waitpid, but we have d_waitpid = 'define'. !Looking at util.c, it seems that there are #ifdef'ed sections !depending on whether HAVE_WAITPID or HAVE_WAIT4. In looking at util.c:Perl_wait4pid() it would appear to call wait4() if d_wait4 eq 'define' in config.sh, otherwise it will call waitpid() if d_waitpid() eq 'define', otherwise it may try to call wait(), but likely only if i_syswait eq 'define' - as per the macro in iperlsys.h. Hence we might skip the test if all of d_waitpid, d_wait4, and i_syswait are undef. !I strongly suspect that the answer is "it depends", and would really !like to hand this off to Michael Schwern, since this multi-platform !testing stuff is really his forte. Sure thing. Another item to note is that it might be advisable to change the string "mbx" to "pipe" in the diagnostic output of the test for it to appear on a non-MAILBOX IPC platform such as Linux, Solaris, FreeBSD, cywin2k, etc. Peter Prymmer
