ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/t/09_multi.t
(Generate patch)

Comparing AnyEvent/t/09_multi.t (file contents):
Revision 1.7 by root, Sat Aug 27 15:59:12 2011 UTC vs.
Revision 1.8 by root, Sat Aug 27 16:01:49 2011 UTC

21BEGIN { require AnyEvent::Impl::Perl unless $ENV{PERL_ANYEVENT_MODEL} } 21BEGIN { require AnyEvent::Impl::Perl unless $ENV{PERL_ANYEVENT_MODEL} }
22 22
23$| = 1; print "1..15\n"; 23$| = 1; print "1..15\n";
24 24
25print "ok 1\n"; 25print "ok 1\n";
26
27$AnyEvent::MAX_SIGNAL_LATENCY = 0.05;
26 28
27my ($a, $b) = AnyEvent::Util::portable_socketpair; 29my ($a, $b) = AnyEvent::Util::portable_socketpair;
28 30
29# I/O write 31# I/O write
30{ 32{
106 $cv->recv; 108 $cv->recv;
107 109
108 print $s == 0 ? "" : "not ", "ok 8 # $s\n"; 110 print $s == 0 ? "" : "not ", "ok 8 # $s\n";
109} 111}
110 112
111$AnyEvent::MAX_SIGNAL_LATENCY = 0.2;
112
113# child 113# child
114{ 114{
115 my $cv = AE::cv; 115 my $cv = AE::cv;
116 my $wt = AE::timer 0.01, 0, $cv; 116 my $wt = AE::timer 0.01, 0, $cv;
117 my $s = 0; 117 my $s = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines