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

Comparing EV/t/02_once.t (file contents):
Revision 1.4 by root, Wed Nov 28 12:14:26 2007 UTC vs.
Revision 1.5 by root, Wed Dec 5 13:59:57 2007 UTC

5use Socket; 5use Socket;
6 6
7use EV; 7use EV;
8 8
9for my $i (3..5) { 9for my $i (3..5) {
10 EV::once undef, 0, $i * 0.05, sub { 10 EV::once undef, 0, $i * 0.2, sub {
11 print $_[0] == EV::TIMEOUT ? "" : "not ", "ok $i\n"; 11 print $_[0] == EV::TIMEOUT ? "" : "not ", "ok $i\n";
12 }; 12 };
13} 13}
14 14
15socketpair my $s1, my $s2, AF_UNIX, SOCK_STREAM, PF_UNSPEC; 15socketpair my $s1, my $s2, AF_UNIX, SOCK_STREAM, PF_UNSPEC;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines