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

Comparing AnyEvent/lib/AnyEvent.pm (file contents):
Revision 1.407 by root, Thu Nov 15 01:25:05 2012 UTC vs.
Revision 1.408 by root, Thu Dec 6 12:04:23 2012 UTC

762 $cv->end; 762 $cv->end;
763 }; 763 };
764 } 764 }
765 765
766 $cv->end; 766 $cv->end;
767
768 ...
769
770 my $results = $cv->recv;
767 771
768This code fragment supposedly pings a number of hosts and calls 772This code fragment supposedly pings a number of hosts and calls
769C<send> after results for all then have have been gathered - in any 773C<send> after results for all then have have been gathered - in any
770order. To achieve this, the code issues a call to C<begin> when it starts 774order. To achieve this, the code issues a call to C<begin> when it starts
771each ping request and calls C<end> when it has received some result for 775each ping request and calls C<end> when it has received some result for

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines