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

Comparing AnyEvent-Fork/README (file contents):
Revision 1.10 by root, Thu May 12 16:54:01 2016 UTC vs.
Revision 1.11 by root, Thu Nov 10 16:31:03 2016 UTC

628 my ($fh, $str1, $str2, $fh1, $fh2, $str3) = @_; 628 my ($fh, $str1, $str2, $fh1, $fh2, $str3) = @_;
629 629
630 print scalar <$fh>; # prints "hi #1\n" and "hi #2\n" in any order 630 print scalar <$fh>; # prints "hi #1\n" and "hi #2\n" in any order
631 } 631 }
632 632
633 CHILD PROCESS INTERFACE
634 This module has a limited API for use in child processes.
635
636 @args = AnyEvent::Fork::Serve::run_args
637 This function, which only exists before the "run" method is called,
638 returns the arguments that would be passed to the run function, and
639 clears them.
640
641 This is mainly useful to get any file handles passed via "send_fh",
642 but works for any arguments passed via "send_*xxx*" methods.
643
633 EXPERIMENTAL METHODS 644 EXPERIMENTAL METHODS
634 These methods might go away completely or change behaviour, at any time. 645 These methods might go away completely or change behaviour, at any time.
635 646
636 $proc->to_fh ($cb->($fh)) # EXPERIMENTAL, MIGHT BE REMOVED 647 $proc->to_fh ($cb->($fh)) # EXPERIMENTAL, MIGHT BE REMOVED
637 Flushes all commands out to the process and then calls the callback 648 Flushes all commands out to the process and then calls the callback

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines