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

Comparing Coro/eg/bench (file contents):
Revision 1.10 by root, Sat Aug 25 21:32:05 2001 UTC vs.
Revision 1.11 by root, Fri Nov 24 11:36:57 2006 UTC

47 transfer($c1, $main, -1); transfer($c1, $main, -1); 47 transfer($c1, $main, -1); transfer($c1, $main, -1);
48 transfer($c1, $main, -1); transfer($c1, $main, -1); 48 transfer($c1, $main, -1); transfer($c1, $main, -1);
49 } 49 }
50} 50}
51 51
52$c0 = Coro::State::_newprocess [sub { 52$c0 = new Coro::State sub {
53 doit0(1,2,3,4,5,6,7,8,9); 53 doit0(1,2,3,4,5,6,7,8,9);
54}]; 54};
55 55
56$c1 = Coro::State::_newprocess [sub { 56$c1 = new Coro::State sub {
57 doit1(1,2,3,4,5,6,7,8,9); 57 doit1(1,2,3,4,5,6,7,8,9);
58}]; 58};
59 59
60transfer($main, $c0, 0); 60transfer($main, $c0, 0);
61transfer($main, $c1, -1); 61transfer($main, $c1, -1);
62 62
63timethese 1000000, { 63timethese 1000000, {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines