… | |
… | |
64 | &Coro::schedule; |
64 | &Coro::schedule; |
65 | } |
65 | } |
66 | }; |
66 | }; |
67 | $IDLE->{desc} = "[EV idle process]"; |
67 | $IDLE->{desc} = "[EV idle process]"; |
68 | |
68 | |
69 | $Coro::idle = sub { $IDLE->ready }; |
69 | $Coro::idle = $IDLE; |
70 | |
70 | |
71 | =item $revents = Coro::EV::timed_io_once $fileno_or_fh, $events, $timeout |
71 | =item $revents = Coro::EV::timed_io_once $fileno_or_fh, $events, $timeout |
72 | |
72 | |
73 | Blocks the coroutine until either the given event set has occured on the |
73 | Blocks the coroutine until either the given event set has occured on the |
74 | fd, or the timeout has been reached (if timeout is zero, there is no |
74 | fd, or the timeout has been reached (if timeout is zero, there is no |