Craig A. Berry [Mon, 29 Oct 2001 12:34:07 +0000 (06:34 -0600)]
Message-Id: <5.1.0.14.2.
20011029121906.035d7e00@exchi01>
p4raw-id: //depot/perl@12769
$i--;
print "# Tick! $i ", Time::HiRes::tv_interval ($r), "\n";
}
- $SIG{ALRM} = 'DEFAULT';
+ alarm(0); # can't cancel usig %SIG
print "ok 17\n";
}
unless (defined &Time::HiRes::setitimer
&& defined &Time::HiRes::getitimer
&& exists &Time::HiRes::ITIMER_VIRTUAL
- && $Config{d_select}) {
+ && $Config{d_select}
+ && $Config{sig_name} =~ m/\bVTALRM\b/) {
for (18..19) {
print "ok $_ # Skip: no virtual interval timers\n";
}