--- EV/EV.pm 2007/12/01 22:51:34 1.59 +++ EV/EV.pm 2007/12/03 13:41:24 1.60 @@ -69,7 +69,7 @@ use strict; BEGIN { - our $VERSION = '1.5'; + our $VERSION = '1.6'; use XSLoader; XSLoader::load "EV", $VERSION; } @@ -133,6 +133,11 @@ When called with an argument of EV::UNLOOP_ALL, all calls to EV::loop will return as fast as possible. +=item $count = EV::loop_count + +Return the number of times the event loop has polled for new +events. Sometiems useful as a generation counter. + =item EV::once $fh_or_undef, $events, $timeout, $cb->($revents) This function rolls together an I/O and a timer watcher for a single