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

Comparing Coro/EV/EV.pm (file contents):
Revision 1.1 by root, Mon Oct 29 19:13:39 2007 UTC vs.
Revision 1.2 by root, Thu Nov 1 06:34:32 2007 UTC

38} 38}
39 39
40=cut 40=cut
41 41
42=item 42=item
43
44=item Coro::EV::loop
45
46You have to call this function instead of EV::loop, EV::dispatch and
47similar functions. EV is not generic enough to let Coro hook into yet, so
48you have to use those replacement functions.
49 43
50=item $revents = Coro::EV::timed_io_once $fd, $events, $timeout 44=item $revents = Coro::EV::timed_io_once $fd, $events, $timeout
51 45
52Blocks the coroutine until either the given event set has occured on the 46Blocks the coroutine until either the given event set has occured on the
53fd, or the timeout has been reached (if timeout is zero, there is no 47fd, or the timeout has been reached (if timeout is zero, there is no

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines