in reply to Re: Multi-OS Perl fork
in thread Multi-OS Perl fork
I haven't seen any "advertising" for fork() on Win32, but it doesn't work well enough. It seems to work for the people who implemented it, for their exact needs. It cannot work well with sockets and it has problems when running longer processes.
I've never mustered the strength to track down these problems, but I'm quite sure that they stem from the fact that the fork() emulation is just that, an emulation, and that the parent and forked child are not separated completely. It was easy enough to circumvent this problem in my case, by writing Schedule::Cron::Nofork, but in many other cases, especially test programs, fork() Just Doesn't Work on Win32.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multi-OS Perl fork
by jonadab (Parson) on Sep 06, 2005 at 14:16 UTC | |
by xdg (Monsignor) on Sep 06, 2005 at 15:04 UTC |