in reply to Re (tilly) 1: how to do things while waiting?
in thread how to do things while waiting?

No, that only works on SVR4-based versions of Unix and not on BSD-based versions of Unix. (Now that Sun has converted to SVR4-based, you might be able to argue "most" is appropriate, but I won't.)

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: how to do things while waiting?

Replies are listed 'Best First'.
Re (tilly) 3: how to do things while waiting?
by tilly (Archbishop) on May 17, 2001 at 02:56 UTC
    Quoting from perlipc for version 5.005_03:
    On most UNIX platforms, the CHLD (sometimes also known as CLD) signal has special behavior with respect to a value of 'IGNORE'. Setting $SIG{CHLD} to 'IGNORE' on such a platform has the effect of not creating zombie processes when the parent process fails to wait() on its child processes (i.e. child processes are automatically reaped). Calling wait() with $SIG{CHLD} set to 'IGNORE' usually returns -1 on such platforms.
    So if you don't like my wording, you should check whether it is still needed and then send in a documentation patch.