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.7 by root, Fri Dec 29 08:36:34 2006 UTC vs.
Revision 1.8 by root, Thu Jan 4 20:14:20 2007 UTC

12print "ok 3\n"; 12print "ok 3\n";
13 13
14my $c1 = async { 14my $c1 = async {
15 print "ok 5\n"; 15 print "ok 5\n";
16 cede; 16 cede;
17 print "not ok 8\n";#d#
17}; 18};
18 19
19print $c1->ready ? "not " : "", "ok 4\n"; 20print $c1->ready ? "not " : "", "ok 4\n";
20 21
21cede; 22cede;
22 23
23print "ok 6\n"; 24print "ok 6\n";
24 25
25$c1->on_destroy (sub { 26$c1->on_destroy (sub {
26 print "ok 8\n"; 27 print "ok 7\n";
27}); 28});
28 29
29$c1->cancel; 30$c1->cancel;
30 31
31print "ok 7\n"; 32print "ok 8\n";
32 33
33cede; 34cede; cede;
34 35
35print "ok 9\n"; 36print "ok 9\n";
36 37

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines