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

Comparing Coro/Coro.pm (file contents):
Revision 1.105 by root, Fri Jan 5 16:55:01 2007 UTC vs.
Revision 1.106 by root, Fri Jan 5 17:44:17 2007 UTC

242 last if @pool >= $POOL_SIZE; 242 last if @pool >= $POOL_SIZE;
243 push @pool, $current; 243 push @pool, $current;
244 244
245 $current->prio (0); 245 $current->prio (0);
246 schedule; 246 schedule;
247 } 247 }
248} 248}
249 249
250sub async_pool(&@) { 250sub async_pool(&@) {
251 # this is also inlined into the unlock_scheduler 251 # this is also inlined into the unlock_scheduler
252 my $coro = (pop @pool or new Coro \&pool_handler); 252 my $coro = (pop @pool or new Coro \&pool_handler);
253 253

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines