develooper Front page | perl.perl5.porters | Postings from April 2012

[perl #24892] alarm not working with Windows XP

Thread Next
From:
Brian Fraser via RT
Date:
April 30, 2012 00:40
Subject:
[perl #24892] alarm not working with Windows XP
Message ID:
rt-3.6.HEAD-4610-1335748857-122.24892-15-0@perl.org
On Tue May 04 12:05:11 2004, guest wrote:
> I have found similiar behavior on Windows 2000 machine using <STDIN> as
> the delay factor, Perl 5.8.4.
> 
> $SIG{ALRM} = sub { die "Alarm!\n" };
> 
> alarm 2;
> 
> my $ans = <STDIN>;
> chomp($ans);
> 
> print "No alarm.\n";
> 
> This may help find the root cause of the problem, since it's a simpler
> test case.

I just built Perl on WinXP, and while this is still present, perlport's
note of alarm() somewhat explains what's going on. But in any case,
could a Windows porter take a look at this?


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=24892

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About