In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/252067360f55751e6f3d0ab2ecd19f78dd96b1e7?hp=a727cfacf4b7894de3ae8c4b906a3bffccd751be>
- Log ----------------------------------------------------------------- commit 252067360f55751e6f3d0ab2ecd19f78dd96b1e7 Author: jdhedden <[email protected]> Date: Sun Feb 26 17:46:16 2017 -0500 Upgrade to threads 2.15 ----------------------------------------------------------------------- Summary of changes: Porting/Maintainers.pl | 2 +- dist/threads/lib/threads.pm | 4 ++-- dist/threads/t/exit.t | 10 +++++----- dist/threads/t/thread.t | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index dd9f1da90d..ca66df6d06 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -1244,7 +1244,7 @@ use File::Glob qw(:case); }, 'threads' => { - 'DISTRIBUTION' => 'JDHEDDEN/threads-2.12.tar.gz', + 'DISTRIBUTION' => 'JDHEDDEN/threads-2.15.tar.gz', 'FILES' => q[dist/threads], 'EXCLUDED' => [ qr{^examples/}, diff --git a/dist/threads/lib/threads.pm b/dist/threads/lib/threads.pm index b2bd872344..d174f72496 100644 --- a/dist/threads/lib/threads.pm +++ b/dist/threads/lib/threads.pm @@ -5,7 +5,7 @@ use 5.008; use strict; use warnings; -our $VERSION = '2.13'; +our $VERSION = '2.15'; my $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -134,7 +134,7 @@ threads - Perl interpreter-based threads =head1 VERSION -This document describes threads version 2.12 +This document describes threads version 2.15 =head1 WARNING diff --git a/dist/threads/t/exit.t b/dist/threads/t/exit.t index c50bf98e4d..bad602f8bb 100644 --- a/dist/threads/t/exit.t +++ b/dist/threads/t/exit.t @@ -48,7 +48,7 @@ my $rc = $thr->join(); ok(! defined($rc), 'Exited: threads->exit()'); -run_perl(prog => 'use threads 2.12;' . +run_perl(prog => 'use threads 2.15;' . 'threads->exit(86);' . 'exit(99);', nolib => ($ENV{PERL_CORE}) ? 0 : 1, @@ -98,7 +98,7 @@ $rc = $thr->join(); ok(! defined($rc), 'Exited: $thr->set_thread_exit_only'); -run_perl(prog => 'use threads 2.12 qw(exit thread_only);' . +run_perl(prog => 'use threads 2.15 qw(exit thread_only);' . 'threads->create(sub { exit(99); })->join();' . 'exit(86);', nolib => ($ENV{PERL_CORE}) ? 0 : 1, @@ -108,7 +108,7 @@ run_perl(prog => 'use threads 2.12 qw(exit thread_only);' . is($?>>8, 86, "'use threads 'exit' => 'thread_only'"); } -my $out = run_perl(prog => 'use threads 2.12;' . +my $out = run_perl(prog => 'use threads 2.15;' . 'threads->create(sub {' . ' exit(99);' . '});' . @@ -124,7 +124,7 @@ my $out = run_perl(prog => 'use threads 2.12;' . like($out, qr/1 finished and unjoined/, "exit(status) in thread"); -$out = run_perl(prog => 'use threads 2.12 qw(exit thread_only);' . +$out = run_perl(prog => 'use threads 2.15 qw(exit thread_only);' . 'threads->create(sub {' . ' threads->set_thread_exit_only(0);' . ' exit(99);' . @@ -141,7 +141,7 @@ $out = run_perl(prog => 'use threads 2.12 qw(exit thread_only);' . like($out, qr/1 finished and unjoined/, "set_thread_exit_only(0)"); -run_perl(prog => 'use threads 2.12;' . +run_perl(prog => 'use threads 2.15;' . 'threads->create(sub {' . ' $SIG{__WARN__} = sub { exit(99); };' . ' die();' . diff --git a/dist/threads/t/thread.t b/dist/threads/t/thread.t index 466fb13b1b..8f4f156967 100644 --- a/dist/threads/t/thread.t +++ b/dist/threads/t/thread.t @@ -161,7 +161,7 @@ package main; # bugid #24165 -run_perl(prog => 'use threads 2.12;' . +run_perl(prog => 'use threads 2.15;' . 'sub a{threads->create(shift)} $t = a sub{};' . '$t->tid; $t->join; $t->tid', nolib => ($ENV{PERL_CORE}) ? 0 : 1, -- Perl5 Master Repository
