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.27 by root, Sat Apr 6 09:05:50 2013 UTC vs.
Revision 1.28 by root, Sat Apr 6 09:06:43 2013 UTC

314=head1 THE C<AnyEvent::Fork> CLASS 314=head1 THE C<AnyEvent::Fork> CLASS
315 315
316This module exports nothing, and only implements a single class - 316This module exports nothing, and only implements a single class -
317C<AnyEvent::Fork>. 317C<AnyEvent::Fork>.
318 318
319There are two constructors that both create new processes - C<new> and 319There are two class constructors that both create new processes - C<new>
320C<new_exec>. The C<fork> method creates a new process by forking an 320and C<new_exec>. The C<fork> method creates a new process by forking an
321existing one and could be considered a third constructor. 321existing one and could be considered a third constructor.
322 322
323Most of the remaining methods deal with preparing the new process, by 323Most of the remaining methods deal with preparing the new process, by
324loading code, evaluating code and sending data to the new process. They 324loading code, evaluating code and sending data to the new process. They
325usually return the process object, so you can chain method calls. 325usually return the process object, so you can chain method calls.
344use IO::FDPass; 344use IO::FDPass;
345 345
346our $VERSION = 0.5; 346our $VERSION = 0.5;
347 347
348our $PERL; # the path to the perl interpreter, deduces with various forms of magic 348our $PERL; # the path to the perl interpreter, deduces with various forms of magic
349
350=item my $pool = new AnyEvent::Fork key => value...
351
352Create a new process pool. The following named parameters are supported:
353 349
354=over 4 350=over 4
355 351
356=back 352=back
357 353

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines