ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-Fork/Fork.pm
(Generate patch)

Comparing AnyEvent-Fork/Fork.pm (file contents):
Revision 1.48 by root, Fri Apr 19 10:51:41 2013 UTC vs.
Revision 1.49 by root, Fri Apr 19 12:56:53 2013 UTC

952to make it so, mostly due to the bloody broken perl that nobody seems to 952to make it so, mostly due to the bloody broken perl that nobody seems to
953care about. The fork emulation is a bad joke - I have yet to see something 953care about. The fork emulation is a bad joke - I have yet to see something
954useful that you can do with it without running into memory corruption 954useful that you can do with it without running into memory corruption
955issues or other braindamage. Hrrrr. 955issues or other braindamage. Hrrrr.
956 956
957Since fork is endlessly broken on win32 perls (it doesn't even remotely
958work within it's documented limits) and quite obviously it's not getting
959improved any time soon, the best way to proceed on windows would be to
960always use C<new_exec> and thus never rely on perl's fork "emulation".
961
957Cygwin perl is not supported at the moment due to some hilarious 962Cygwin perl is not supported at the moment due to some hilarious
958shortcomings of its API - see L<IO::FDPoll> for more details. 963shortcomings of its API - see L<IO::FDPoll> for more details. If you never
964use C<send_fh> and always use C<new_exec> to create processes, it should
965work though.
959 966
960=head1 SEE ALSO 967=head1 SEE ALSO
961 968
962L<AnyEvent::Fork::Early>, to avoid executing a perl interpreter at all 969L<AnyEvent::Fork::Early>, to avoid executing a perl interpreter at all
963(part of this distribution). 970(part of this distribution).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines