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

Comparing Coro/t/00_basic.t (file contents):
Revision 1.3 by root, Sat Jul 14 22:14:21 2001 UTC vs.
Revision 1.4 by root, Sat Aug 11 19:59:20 2001 UTC

7my $main = new Coro::State; 7my $main = new Coro::State;
8my $proc = new Coro::State \&a; 8my $proc = new Coro::State \&a;
9 9
10sub a { 10sub a {
11 print "ok 3\n"; 11 print "ok 3\n";
12 $proc->transfer($main); 12 $proc->transfer($main, 0);
13 print "ok 5\n"; 13 print "ok 5\n";
14 $proc->transfer($main); 14 $proc->transfer($main, 0);
15 die; 15 die;
16} 16}
17 17
18print "ok 2\n"; 18print "ok 2\n";
19$main->transfer($proc); 19$main->transfer($proc, 0);
20print "ok 4\n"; 20print "ok 4\n";
21$main->transfer($proc); 21$main->transfer($proc, 0);
22print "ok 6\n"; 22print "ok 6\n";
23 23

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines