On Thu, 23 Dec 2010, Sisyphus wrote: > > Earliest perl that I have that was built with -Dusethreads was a perl-5.8.8 > that I built myself using MinGW ... but I don't have any perls between 5.8.0 > (which was *not* built with -Dusethreads) and 5.8.8.
$Config{usethreads} wasn't set correctly on Windows until 5.8.1: http://perl5.git.perl.org/perl.git/commitdiff/7e0017d3 > Does anyone here know if there were any pre-5.8.8 builds of ActivePerl that > were built with -Dusethreads ? It looks though that there has been an integration error in the early ActivePerl 5.8 sources, and the value has been overwritten with "undef" from the $Config{use5005threads} setting until ActivePerl 5.8.6.811. I would use $Config{useithreads} (note the additional "i" in front of "threads") on Perl 5.8 and later, which should always be correct. Or if you really work with the perl5005 thread implementation too: my $usethreads = $] < 5.008 ? $Config{usethreads} : $Config{useithreads}; Cheers, -Jan _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs