--- EV-Loop-Async/Async.pm 2009/07/17 02:52:22 1.4 +++ EV-Loop-Async/Async.pm 2010/03/31 01:05:46 1.7 @@ -89,7 +89,7 @@ use base 'EV::Loop'; BEGIN { - our $VERSION = '0.02'; + our $VERSION = '0.04'; require XSLoader; XSLoader::load ("EV::Loop::Async", $VERSION); @@ -188,7 +188,7 @@ my $self = bless $class->SUPER::new ($flags), $class; my ($c_func, $c_arg) = _c_func $self; my $asy = new Async::Interrupt @asy, c_cb => [$c_func, $c_arg]; - $self->_attach ($asy, $asy->signal_func); + _attach $self, $asy, $asy->signal_func; $self } @@ -258,7 +258,7 @@ after invoking the callbacks, effectively doing the polling in the foreground. -The default is C<0>, meaning thatno foreground polling will be done. A +The default is C<0>, meaning that no foreground polling will be done. A value of C<1> means that, after handling the pending events, it will call C<< $loop->loop (EV::LOOP_NONBLOCK) >> and handle the resulting events, if any. A value of C<2> means that this will be iterated twice. @@ -267,6 +267,9 @@ further iterations will be made, so this is only a I value of additional loop runs. +Take also note of the standard EV C +functionality, which can achieve a similar, but different, effect - YMMV. + =back =head1 SEE ALSO