in reply to Re: Re: Re: How to multiprocess in Win32?
in thread How to multiprocess in Win32?
I've never had any difficulty getting Perl to crash when using the emulated fork under Win32. Even trivial programs will crash or just plain "act strange". It is so easy to get it to fail that I haven't even bothered filing a bug report (just picking which of dozens to send in first would be a problem).
As for multiprocessing, I've mostly replaced fork with:
in cases when I needed it. - tye (but my friends call me "Tye")if( @ARGV && $ARGV[0] eq "-child" ) { shift( @ARGV ); # child code here exit( 0 ); } # Am parent # ... system(1,$^X,$0,"-child",@ARGV); # run child # ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to multiprocess in Win32?
by wolfger (Deacon) on Oct 22, 2004 at 16:52 UTC | |
by tye (Sage) on Oct 23, 2004 at 04:15 UTC | |
by wolfger (Deacon) on Oct 26, 2004 at 13:33 UTC | |
by BrowserUk (Patriarch) on Oct 26, 2004 at 13:50 UTC | |
by wolfger (Deacon) on Oct 26, 2004 at 18:20 UTC | |
|
Re^2: How to multiprocess in Win32?
by Jenda (Abbot) on Jan 08, 2005 at 19:22 UTC |