--- Coro/eg/bench 2001/08/25 21:32:05 1.10 +++ Coro/eg/bench 2006/11/24 11:36:57 1.11 @@ -49,13 +49,13 @@ } } -$c0 = Coro::State::_newprocess [sub { +$c0 = new Coro::State sub { doit0(1,2,3,4,5,6,7,8,9); -}]; +}; -$c1 = Coro::State::_newprocess [sub { +$c1 = new Coro::State sub { doit1(1,2,3,4,5,6,7,8,9); -}]; +}; transfer($main, $c0, 0); transfer($main, $c1, -1);