summaryrefslogtreecommitdiff
path: root/dist/threads
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2011-09-03 11:05:08 -0400
committerFather Chrysostomos <sprout@cpan.org>2011-09-03 09:46:58 -0700
commit85d6e69a0ae752dd8d01a7f47142f8d2bfbda210 (patch)
tree48e869f9c9f6b8ba5bc978c1f32ca4e75914e426 /dist/threads
parent4666110583d3cc7d03119aa86af26cfe90ce5482 (diff)
downloadperl-85d6e69a0ae752dd8d01a7f47142f8d2bfbda210.tar.gz
Upgrade to threads 1.85
Diffstat (limited to 'dist/threads')
-rw-r--r--dist/threads/lib/threads.pm2
-rw-r--r--dist/threads/t/exit.t10
-rw-r--r--dist/threads/t/thread.t2
3 files changed, 7 insertions, 7 deletions
diff --git a/dist/threads/lib/threads.pm b/dist/threads/lib/threads.pm
index 0bf061d3fb..4b85c9af03 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 = '1.85'; # Do not forget to update the pod!
+our $VERSION = '1.85';
my $XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
diff --git a/dist/threads/t/exit.t b/dist/threads/t/exit.t
index d0c80a62d2..d96461ca61 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 1.84;' .
+run_perl(prog => 'use threads 1.85;' .
'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 1.84 qw(exit thread_only);' .
+run_perl(prog => 'use threads 1.85 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 1.84 qw(exit thread_only);' .
is($?>>8, 86, "'use threads 'exit' => 'thread_only'");
}
-my $out = run_perl(prog => 'use threads 1.84;' .
+my $out = run_perl(prog => 'use threads 1.85;' .
'threads->create(sub {' .
' exit(99);' .
'});' .
@@ -124,7 +124,7 @@ my $out = run_perl(prog => 'use threads 1.84;' .
like($out, '1 finished and unjoined', "exit(status) in thread");
-$out = run_perl(prog => 'use threads 1.84 qw(exit thread_only);' .
+$out = run_perl(prog => 'use threads 1.85 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 1.84 qw(exit thread_only);' .
like($out, '1 finished and unjoined', "set_thread_exit_only(0)");
-run_perl(prog => 'use threads 1.84;' .
+run_perl(prog => 'use threads 1.85;' .
'threads->create(sub {' .
' $SIG{__WARN__} = sub { exit(99); };' .
' die();' .
diff --git a/dist/threads/t/thread.t b/dist/threads/t/thread.t
index f4d464578b..aab2af05eb 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 1.84;' .
+run_perl(prog => 'use threads 1.85;' .
'sub a{threads->create(shift)} $t = a sub{};' .
'$t->tid; $t->join; $t->tid',
nolib => ($ENV{PERL_CORE}) ? 0 : 1,