In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/d719fa5c3e28157ca2c330c3592fc76a71ab0fc3?hp=b404a7f5880f54fb0673d325408618ab43074309>
- Log ----------------------------------------------------------------- commit d719fa5c3e28157ca2c330c3592fc76a71ab0fc3 Author: jdhedden <[email protected]> Date: Sat Jan 20 15:38:03 2018 -0500 Upgrade to threads::shared 1.58 commit 40e3ceea19e0d62c93bc87b331ab60a2c3a198e4 Author: jdhedden <[email protected]> Date: Sat Jan 20 15:31:53 2018 -0500 Upgrade to threads 2.21 ----------------------------------------------------------------------- Summary of changes: Porting/Maintainers.pl | 4 ++-- dist/threads/t/exit.t | 10 +++++----- dist/threads/t/thread.t | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 61fbbd3423..a2ffc61a98 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -1160,7 +1160,7 @@ use File::Glob qw(:case); }, 'threads' => { - 'DISTRIBUTION' => 'JDHEDDEN/threads-2.16.tar.gz', + 'DISTRIBUTION' => 'JDHEDDEN/threads-2.21.tar.gz', 'FILES' => q[dist/threads], 'EXCLUDED' => [ qr{^examples/}, @@ -1172,7 +1172,7 @@ use File::Glob qw(:case); }, 'threads::shared' => { - 'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.57.tar.gz', + 'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.58.tar.gz', 'FILES' => q[dist/threads-shared], 'EXCLUDED' => [ qw( examples/class.pl diff --git a/dist/threads/t/exit.t b/dist/threads/t/exit.t index 4e0286605e..2edc262546 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.16;' . +run_perl(prog => 'use threads 2.21;' . '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.16 qw(exit thread_only);' . +run_perl(prog => 'use threads 2.21 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.16 qw(exit thread_only);' . is($?>>8, 86, "'use threads 'exit' => 'thread_only'"); } -my $out = run_perl(prog => 'use threads 2.16;' . +my $out = run_perl(prog => 'use threads 2.21;' . 'threads->create(sub {' . ' exit(99);' . '});' . @@ -124,7 +124,7 @@ my $out = run_perl(prog => 'use threads 2.16;' . like($out, qr/1 finished and unjoined/, "exit(status) in thread"); -$out = run_perl(prog => 'use threads 2.16 qw(exit thread_only);' . +$out = run_perl(prog => 'use threads 2.21 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.16 qw(exit thread_only);' . like($out, qr/1 finished and unjoined/, "set_thread_exit_only(0)"); -run_perl(prog => 'use threads 2.16;' . +run_perl(prog => 'use threads 2.21;' . 'threads->create(sub {' . ' $SIG{__WARN__} = sub { exit(99); };' . ' die();' . diff --git a/dist/threads/t/thread.t b/dist/threads/t/thread.t index c63250c353..4dc1a292d8 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.16;' . +run_perl(prog => 'use threads 2.21;' . 'sub a{threads->create(shift)} $t = a sub{};' . '$t->tid; $t->join; $t->tid', nolib => ($ENV{PERL_CORE}) ? 0 : 1, -- Perl5 Master Repository
