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.26 by root, Sat Apr 6 08:58:51 2013 UTC vs.
Revision 1.27 by root, Sat Apr 6 09:05:50 2013 UTC

309 my ($fork_fh) = @_; 309 my ($fork_fh) = @_;
310 }); 310 });
311 311
312=back 312=back
313 313
314=head1 FUNCTIONS 314=head1 THE C<AnyEvent::Fork> CLASS
315
316This module exports nothing, and only implements a single class -
317C<AnyEvent::Fork>.
318
319There are two constructors that both create new processes - C<new> and
320C<new_exec>. The C<fork> method creates a new process by forking an
321existing one and could be considered a third constructor.
322
323Most of the remaining methods deal with preparing the new process, by
324loading code, evaluating code and sending data to the new process. They
325usually return the process object, so you can chain method calls.
326
327If a process object is destroyed before calling its C<run> method, then
328the process simply exits. After C<run> is called, all responsibility is
329passed to the specified function.
315 330
316=over 4 331=over 4
317 332
318=cut 333=cut
319 334

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines