… | |
… | |
94 | When called with no arguments or an argument of EV::UNLOOP_ONE, |
94 | When called with no arguments or an argument of EV::UNLOOP_ONE, |
95 | makes the innermost call to EV::loop return. |
95 | makes the innermost call to EV::loop return. |
96 | |
96 | |
97 | When called with an argument of EV::UNLOOP_ALL, all calls to |
97 | When called with an argument of EV::UNLOOP_ALL, all calls to |
98 | EV::loop will return as fast as possible. |
98 | EV::loop will return as fast as possible. |
|
|
99 | |
|
|
100 | $count = EV::loop_count |
|
|
101 | Return the number of times the event loop has polled for new events. |
|
|
102 | Sometiems useful as a generation counter. |
99 | |
103 | |
100 | EV::once $fh_or_undef, $events, $timeout, $cb->($revents) |
104 | EV::once $fh_or_undef, $events, $timeout, $cb->($revents) |
101 | This function rolls together an I/O and a timer watcher for a single |
105 | This function rolls together an I/O and a timer watcher for a single |
102 | one-shot event without the need for managing a watcher object. |
106 | one-shot event without the need for managing a watcher object. |
103 | |
107 | |
… | |
… | |
630 | |
634 | |
631 | On win32, there is no notion of fork so all this doesn't apply, of |
635 | On win32, there is no notion of fork so all this doesn't apply, of |
632 | course. |
636 | course. |
633 | |
637 | |
634 | SEE ALSO |
638 | SEE ALSO |
635 | EV::DNS. |
639 | EV::ADNS (asynchronous dns), Glib::EV (makes Glib/Gtk2 use EV as event |
|
|
640 | loop), Coro::EV (efficient coroutines with EV). |
636 | |
641 | |
637 | AUTHOR |
642 | AUTHOR |
638 | Marc Lehmann <schmorp@schmorp.de> |
643 | Marc Lehmann <schmorp@schmorp.de> |
639 | http://home.schmorp.de/ |
644 | http://home.schmorp.de/ |
640 | |
645 | |