ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/t/05_priority.t
(Generate patch)

Comparing EV/t/05_priority.t (file contents):
Revision 1.3 by root, Tue Mar 16 20:43:05 2010 UTC vs.
Revision 1.4 by root, Thu Oct 21 15:13:43 2010 UTC

13my $i0 = EV::idle sub { print EV::iteration == 3 ? "" : "not ", "ok 7\n"; $_[0]->stop }; 13my $i0 = EV::idle sub { print EV::iteration == 3 ? "" : "not ", "ok 7\n"; $_[0]->stop };
14my $i1 = EV::idle sub { print EV::iteration == 2 ? "" : "not ", "ok 6\n"; $_[0]->stop }; $i1->priority ( 1); 14my $i1 = EV::idle sub { print EV::iteration == 2 ? "" : "not ", "ok 6\n"; $_[0]->stop }; $i1->priority ( 1);
15my $i_ = EV::idle sub { print EV::iteration == 4 ? "" : "not ", "ok 8\n"; $_[0]->stop }; $i_->priority (-1); 15my $i_ = EV::idle sub { print EV::iteration == 4 ? "" : "not ", "ok 8\n"; $_[0]->stop }; $i_->priority (-1);
16 16
17print "ok 1\n"; 17print "ok 1\n";
18EV::loop; 18EV::run;
19print "ok 9\n"; 19print "ok 9\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines