On Dec 11 10:24, Jerry D. Hedden wrote:
> Corinna Vinschen wrote:
> > It would be more helpful if you would send self-contained code which
> > doesn't have to be tweaked to do a test. I'm not a perl developer, so
> > it took me some time to get it running. I'd also really prefer
> > testcases in
Jerry D. Hedden wrote:
> [...]
> Under 1.5.24, this test always passes. Under 1.5.25, it is
> now frequently failing. If I add a debugging call in the
> central most loop:
>
> print("got: $lt exp: $localtime\n");
>
> I get the following as typical of the problem:
>
> 5 perl-curre
On Dec 10 17:00, Jerry D. Hedden wrote:
> [...]
> Under 1.5.24, this test always passes. Under 1.5.25, it is
> now frequently failing. If I add a debugging call in the
> central most loop:
>
> print("got: $lt exp: $localtime\n");
>
> I get the following as typical of the problem:
>
(CC'ed to perl5-porters for reference.)
The Perl test suite contains a file
(perl-current/ext/threads/t/libc.t) that exercises the
'localtime' call under threads. Here's the main code:
my $i = 10;
my $y = 2;
my %localtime;
for (1..$i) {
$localtime{$_} = localtime($_)
4 matches
Mail list logo