In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/f3f2f486c173c975f5389913bb2b5b16f4ffd6cb?hp=07bb61ac4e127de8c4d5c8a40adf7cd36baa6253>
- Log ----------------------------------------------------------------- commit f3f2f486c173c975f5389913bb2b5b16f4ffd6cb Author: Jerry D. Hedden <[email protected]> Date: Wed Jun 10 23:25:20 2015 -0400 Upgrade to threads::shared 1.48 M Porting/Maintainers.pl commit aa8d754d86d5f9dc4574943decb5c923d38c67fc Author: Jerry D. Hedden <[email protected]> Date: Wed Jun 10 23:03:10 2015 -0400 Upgrade to threads 2.02 M Porting/Maintainers.pl M dist/threads/lib/threads.pm M dist/threads/t/exit.t M dist/threads/t/thread.t ----------------------------------------------------------------------- Summary of changes: Porting/Maintainers.pl | 4 ++-- dist/threads/lib/threads.pm | 4 ++-- dist/threads/t/exit.t | 10 +++++----- dist/threads/t/thread.t | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 2ba6121..c98bf8e 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -1171,7 +1171,7 @@ use File::Glob qw(:case); }, 'threads' => { - 'DISTRIBUTION' => 'JDHEDDEN/threads-2.01.tar.gz', + 'DISTRIBUTION' => 'JDHEDDEN/threads-2.02.tar.gz', 'FILES' => q[dist/threads], 'EXCLUDED' => [ qr{^examples/}, @@ -1183,7 +1183,7 @@ use File::Glob qw(:case); }, 'threads::shared' => { - 'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.46.tar.gz', + 'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.48.tar.gz', 'FILES' => q[dist/threads-shared], 'EXCLUDED' => [ qw( examples/class.pl diff --git a/dist/threads/lib/threads.pm b/dist/threads/lib/threads.pm index 7d7ea3d..9854f4d 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.01'; +our $VERSION = '2.02'; my $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -134,7 +134,7 @@ threads - Perl interpreter-based threads =head1 VERSION -This document describes threads version 2.01 +This document describes threads version 2.02 =head1 WARNING diff --git a/dist/threads/t/exit.t b/dist/threads/t/exit.t index 96973b7..908f52c 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.01;' . +run_perl(prog => 'use threads 2.02;' . '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.01 qw(exit thread_only);' . +run_perl(prog => 'use threads 2.02 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.01 qw(exit thread_only);' . is($?>>8, 86, "'use threads 'exit' => 'thread_only'"); } -my $out = run_perl(prog => 'use threads 2.01;' . +my $out = run_perl(prog => 'use threads 2.02;' . 'threads->create(sub {' . ' exit(99);' . '});' . @@ -124,7 +124,7 @@ my $out = run_perl(prog => 'use threads 2.01;' . like($out, qr/1 finished and unjoined/, "exit(status) in thread"); -$out = run_perl(prog => 'use threads 2.01 qw(exit thread_only);' . +$out = run_perl(prog => 'use threads 2.02 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.01 qw(exit thread_only);' . like($out, qr/1 finished and unjoined/, "set_thread_exit_only(0)"); -run_perl(prog => 'use threads 2.01;' . +run_perl(prog => 'use threads 2.02;' . 'threads->create(sub {' . ' $SIG{__WARN__} = sub { exit(99); };' . ' die();' . diff --git a/dist/threads/t/thread.t b/dist/threads/t/thread.t index a0e6296..56087f3 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.01;' . +run_perl(prog => 'use threads 2.02;' . 'sub a{threads->create(shift)} $t = a sub{};' . '$t->tid; $t->join; $t->tid', nolib => ($ENV{PERL_CORE}) ? 0 : 1, -- Perl5 Master Repository
