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.438 by root, Thu Dec 10 23:11:09 2020 UTC vs.
Revision 1.439 by root, Sat May 15 14:08:02 2021 UTC

1114the C<< ->send >> method has been called on it already. This is 1114the C<< ->send >> method has been called on it already. This is
1115because it will stall the whole program, and the whole point of using 1115because it will stall the whole program, and the whole point of using
1116events is to stay interactive. 1116events is to stay interactive.
1117 1117
1118It is fine, however, to call C<< ->recv >> when the user of your module 1118It is fine, however, to call C<< ->recv >> when the user of your module
1119requests it (i.e. if you create a http request object ad have a method 1119requests it (i.e. if you create a http request object and have a method
1120called C<results> that returns the results, it may call C<< ->recv >> 1120called C<results> that returns the results, it may call C<< ->recv >>
1121freely, as the user of your module knows what she is doing. Always). 1121freely, as the user of your module knows what she is doing. Always).
1122 1122
1123=head1 WHAT TO DO IN THE MAIN PROGRAM 1123=head1 WHAT TO DO IN THE MAIN PROGRAM
1124 1124
3061 3061
3062=head1 BUGS 3062=head1 BUGS
3063 3063
3064Perl 5.8 has numerous memleaks that sometimes hit this module and are hard 3064Perl 5.8 has numerous memleaks that sometimes hit this module and are hard
3065to work around. If you suffer from memleaks, first upgrade to Perl 5.10 3065to work around. If you suffer from memleaks, first upgrade to Perl 5.10
3066and check wether the leaks still show up. (Perl 5.10.0 has other annoying 3066and check whether the leaks still show up. (Perl 5.10.0 has other annoying
3067memleaks, such as leaking on C<map> and C<grep> but it is usually not as 3067memleaks, such as leaking on C<map> and C<grep> but it is usually not as
3068pronounced). 3068pronounced).
3069 3069
3070 3070
3071=head1 SEE ALSO 3071=head1 SEE ALSO

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines