in reply to Re: Re: multiple fork()
in thread multiple fork()
Don't catch $SIG{CHLD} as each catch gives your program about a 1% chance of die'ing since Perl's signal handlers aren't safe. See "perldoc -f waitpid" for how to reap children without catching signals.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: multiple fork()
by Dominus (Parson) on Apr 17, 2001 at 03:55 UTC | |
by tye (Sage) on Apr 17, 2001 at 05:33 UTC | |
|
Re: (tye)Re: multiple fork()
by Rhandom (Curate) on Apr 17, 2001 at 00:29 UTC | |
by tye (Sage) on Apr 17, 2001 at 00:32 UTC | |
by Rhandom (Curate) on Apr 17, 2001 at 00:55 UTC | |
by tye (Sage) on Apr 17, 2001 at 01:04 UTC | |
by Rhandom (Curate) on Apr 17, 2001 at 01:15 UTC | |
|