diff options
author | Ricardo Signes <rjbs@cpan.org> | 2016-04-30 14:52:02 -0400 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2016-04-30 14:53:43 -0400 |
commit | ca463a05f8c5a513ebcd09ee1fed6df729073c55 (patch) | |
tree | 279258e5a9ab97d9b75da1ac230e23261c97f778 | |
parent | bb9879d35229986a0345a5f7ea8c84a85fe09fb1 (diff) | |
download | perl-ca463a05f8c5a513ebcd09ee1fed6df729073c55.tar.gz |
threads: bump version (again) because content changed
-rw-r--r-- | dist/threads/lib/threads.pm | 4 | ||||
-rw-r--r-- | dist/threads/t/exit.t | 10 | ||||
-rw-r--r-- | dist/threads/t/thread.t | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/dist/threads/lib/threads.pm b/dist/threads/lib/threads.pm index 9feb4c30d8..39761be3dd 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.06'; +our $VERSION = '2.07'; my $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -134,7 +134,7 @@ threads - Perl interpreter-based threads =head1 VERSION -This document describes threads version 2.06 +This document describes threads version 2.07 =head1 WARNING diff --git a/dist/threads/t/exit.t b/dist/threads/t/exit.t index 016c1359e4..16d7a7ac17 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.06;' . +run_perl(prog => 'use threads 2.07;' . '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.06 qw(exit thread_only);' . +run_perl(prog => 'use threads 2.07 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.06 qw(exit thread_only);' . is($?>>8, 86, "'use threads 'exit' => 'thread_only'"); } -my $out = run_perl(prog => 'use threads 2.06;' . +my $out = run_perl(prog => 'use threads 2.07;' . 'threads->create(sub {' . ' exit(99);' . '});' . @@ -124,7 +124,7 @@ my $out = run_perl(prog => 'use threads 2.06;' . like($out, qr/1 finished and unjoined/, "exit(status) in thread"); -$out = run_perl(prog => 'use threads 2.06 qw(exit thread_only);' . +$out = run_perl(prog => 'use threads 2.07 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.06 qw(exit thread_only);' . like($out, qr/1 finished and unjoined/, "set_thread_exit_only(0)"); -run_perl(prog => 'use threads 2.06;' . +run_perl(prog => 'use threads 2.07;' . 'threads->create(sub {' . ' $SIG{__WARN__} = sub { exit(99); };' . ' die();' . diff --git a/dist/threads/t/thread.t b/dist/threads/t/thread.t index c1218da981..4628b276c9 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.06;' . +run_perl(prog => 'use threads 2.07;' . 'sub a{threads->create(shift)} $t = a sub{};' . '$t->tid; $t->join; $t->tid', nolib => ($ENV{PERL_CORE}) ? 0 : 1, |