Revision history for Perl extension threads.
+1.47 Mon Oct 30 16:02:53 EST 2006
+ - Fix t/thread.t crash under Win32
+ - Test multiple embedded Perl support
+
1.46 Fri Oct 27 19:51:48 EST 2006
- Support multiple embedded Perls
- Document workaround for non-threadsafe modules
ok(! defined($rc), 'Exited: threads->exit()');
-run_perl(prog => 'use threads 1.37;' .
+run_perl(prog => 'use threads 1.47;' .
'threads->exit(86);' .
'exit(99);',
nolib => ($ENV{PERL_CORE}) ? 0 : 1,
ok(! defined($rc), 'Exited: $thr->set_thread_exit_only');
-run_perl(prog => 'use threads 1.37 qw(exit thread_only);' .
+run_perl(prog => 'use threads 1.47 qw(exit thread_only);' .
'threads->create(sub { exit(99); })->join();' .
'exit(86);',
nolib => ($ENV{PERL_CORE}) ? 0 : 1,
is($?>>8, 86, "'use threads 'exit' => 'thread_only'");
-my $out = run_perl(prog => 'use threads 1.37;' .
+my $out = run_perl(prog => 'use threads 1.47;' .
'threads->create(sub {' .
' exit(99);' .
'})->join();' .
like($out, '1 finished and unjoined', "exit(status) in thread");
-$out = run_perl(prog => 'use threads 1.37 qw(exit thread_only);' .
+$out = run_perl(prog => 'use threads 1.47 qw(exit thread_only);' .
'threads->create(sub {' .
' threads->set_thread_exit_only(0);' .
' exit(99);' .
like($out, '1 finished and unjoined', "set_thread_exit_only(0)");
-run_perl(prog => 'use threads 1.37;' .
+run_perl(prog => 'use threads 1.47;' .
'threads->create(sub {' .
' $SIG{__WARN__} = sub { exit(99); };' .
' die();' .
# bugid #24165
-run_perl(prog => 'use threads 1.46;' .
+run_perl(prog => 'use threads 1.47;' .
'sub a{threads->create(shift)} $t = a sub{};' .
'$t->tid; $t->join; $t->tid',
nolib => ($ENV{PERL_CORE}) ? 0 : 1,
use strict;
use warnings;
-our $VERSION = '1.46';
+our $VERSION = '1.47';
my $XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
=head1 VERSION
-This document describes threads version 1.46
+This document describes threads version 1.47
=head1 SYNOPSIS
L<http://www.cpanforum.com/dist/threads>
Annotated POD for L<threads>:
-L<http://annocpan.org/~JDHEDDEN/threads-1.46/threads.pm>
+L<http://annocpan.org/~JDHEDDEN/threads-1.47/threads.pm>
L<threads::shared>, L<perlthrtut>