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

Comparing Coro/t/01_process.t (file contents):
Revision 1.6 by root, Thu Nov 30 18:21:14 2006 UTC vs.
Revision 1.7 by root, Fri Dec 29 08:36:34 2006 UTC

1$|=1; 1$|=1;
2print "1..6\n"; 2print "1..9\n";
3 3
4use Coro; 4use Coro;
5 5
6sub p1 : Coro { 6sub p1 : Coro {
7 print "ok 2\n"; 7 print "ok 2\n";
20 20
21cede; 21cede;
22 22
23print "ok 6\n"; 23print "ok 6\n";
24 24
25$c1->on_destroy (sub {
26 print "ok 8\n";
27});
28
29$c1->cancel;
30
31print "ok 7\n";
32
33cede;
34
35print "ok 9\n";
36

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines