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