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

Comparing EV/EV.pm (file contents):
Revision 1.123 by root, Sun Aug 9 13:30:41 2009 UTC vs.
Revision 1.124 by root, Tue Dec 1 13:56:33 2009 UTC

456 456
457=item $previous_state = $w->keepalive ($bool) 457=item $previous_state = $w->keepalive ($bool)
458 458
459Normally, C<EV::loop> will return when there are no active watchers 459Normally, C<EV::loop> will return when there are no active watchers
460(which is a "deadlock" because no progress can be made anymore). This is 460(which is a "deadlock" because no progress can be made anymore). This is
461convinient because it allows you to start your watchers (and your jobs), 461convenient because it allows you to start your watchers (and your jobs),
462call C<EV::loop> once and when it returns you know that all your jobs are 462call C<EV::loop> once and when it returns you know that all your jobs are
463finished (or they forgot to register some watchers for their task :). 463finished (or they forgot to register some watchers for their task :).
464 464
465Sometimes, however, this gets in your way, for example when the module 465Sometimes, however, this gets in your way, for example when the module
466that calls C<EV::loop> (usually the main program) is not the same module 466that calls C<EV::loop> (usually the main program) is not the same module

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines