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.50 by root, Fri Dec 11 18:32:23 2009 UTC vs.
Revision 1.51 by root, Sat Dec 12 01:30:26 2009 UTC

63} 63}
64 64
65our $IDLE = new Coro sub { 65our $IDLE = new Coro sub {
66 while () { 66 while () {
67 &_loop_oneshot; 67 &_loop_oneshot;
68 &Coro::schedule; 68 Coro::schedule if Coro::nready;
69 } 69 }
70}; 70};
71$IDLE->{desc} = "[EV idle thread]"; 71$IDLE->{desc} = "[EV idle thread]";
72 72
73$Coro::idle = $IDLE; 73$Coro::idle = $IDLE;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines