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.414 by root, Wed Aug 21 08:40:28 2013 UTC vs.
Revision 1.415 by root, Wed Sep 25 11:16:25 2013 UTC

745This works because for every event source (EOF on file handle), there is 745This works because for every event source (EOF on file handle), there is
746one call to C<begin>, so the condvar waits for all calls to C<end> before 746one call to C<begin>, so the condvar waits for all calls to C<end> before
747sending. 747sending.
748 748
749The ping example mentioned above is slightly more complicated, as the 749The ping example mentioned above is slightly more complicated, as the
750there are results to be passwd back, and the number of tasks that are 750there are results to be passed back, and the number of tasks that are
751begun can potentially be zero: 751begun can potentially be zero:
752 752
753 my $cv = AnyEvent->condvar; 753 my $cv = AnyEvent->condvar;
754 754
755 my %result; 755 my %result;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines