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

Comparing EV/t/03_keepalive.t (file contents):
Revision 1.2 by root, Wed Apr 15 17:49:27 2009 UTC vs.
Revision 1.3 by root, Sat Apr 25 14:12:49 2009 UTC

26 26
27$timer->again; 27$timer->again;
28$timer->stop; 28$timer->stop;
29$timer->start; 29$timer->start;
30 30
31my $timer2 = EV::timer 0, 0, sub { print "ok 4\n" }; 31my $timer2 = EV::timer -1, 0, sub { print "ok 4\n" };
32$timer2->keepalive (0); 32$timer2->keepalive (0);
33 33
34print "ok 3\n"; 34print "ok 3\n";
35EV::loop; 35EV::loop;
36print "ok 5\n"; 36print "ok 5\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines