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

Comparing Coro/t/11_deadlock.t (file contents):
Revision 1.1 by root, Mon Dec 4 03:54:46 2006 UTC vs.
Revision 1.2 by root, Fri Apr 13 12:56:55 2007 UTC

11 close STDERR; 11 close STDERR;
12 close STDOUT; 12 close STDOUT;
13 $old_idle->(); 13 $old_idle->();
14 }; 14 };
15 schedule; 15 schedule;
16 exit(253); 16 exit 3;
17}; 17};
18 18
19waitpid $pid, 0;
19print 20print
20 253 == (waitpid $pid, 0) >> 8 21 3 == $? >> 8
21 ? "not " : "", "ok 3\n"; 22 ? "not " : "", "ok 3\n";
22 23
23my $coro = new Coro sub { 24my $coro = new Coro sub {
24 print "ok 5\n"; 25 print "ok 5\n";
25 Coro::State::_exit 0; 26 Coro::State::_exit 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines