summaryrefslogtreecommitdiff
path: root/dist/threads
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2011-04-17 19:41:03 -0400
committerJesse Vincent <jesse@bestpractical.com>2011-04-19 15:32:07 +1000
commitc6288a4392f614d9755ee688230dfe8cd6ca92aa (patch)
treeaabc0b9f5503444b78959998df7ae4153344b699 /dist/threads
parent6c7935a1df1031c2aedf17c36097a523dbeff34f (diff)
downloadperl-c6288a4392f614d9755ee688230dfe8cd6ca92aa.tar.gz
Upgrade to threads 1.83
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 b48ef7ee49..dc2ef3ea55 100644
--- a/dist/threads/lib/threads.pm
+++ b/dist/threads/lib/threads.pm
@@ -134,7 +134,7 @@ threads - Perl interpreter-based threads
=head1 VERSION
-This document describes threads version 1.82
+This document describes threads version 1.83
=head1 SYNOPSIS
diff --git a/dist/threads/t/exit.t b/dist/threads/t/exit.t
index c9f0f7ccb1..a76788618a 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.82;' .
+run_perl(prog => 'use threads 1.83;' .
'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.82 qw(exit thread_only);' .
+run_perl(prog => 'use threads 1.83 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.82 qw(exit thread_only);' .
is($?>>8, 86, "'use threads 'exit' => 'thread_only'");
}
-my $out = run_perl(prog => 'use threads 1.82;' .
+my $out = run_perl(prog => 'use threads 1.83;' .
'threads->create(sub {' .
' exit(99);' .
'});' .
@@ -124,7 +124,7 @@ my $out = run_perl(prog => 'use threads 1.82;' .
like($out, '1 finished and unjoined', "exit(status) in thread");
-$out = run_perl(prog => 'use threads 1.82 qw(exit thread_only);' .
+$out = run_perl(prog => 'use threads 1.83 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.82 qw(exit thread_only);' .
like($out, '1 finished and unjoined', "set_thread_exit_only(0)");
-run_perl(prog => 'use threads 1.82;' .
+run_perl(prog => 'use threads 1.83;' .
'threads->create(sub {' .
' $SIG{__WARN__} = sub { exit(99); };' .
' die();' .
diff --git a/dist/threads/t/thread.t b/dist/threads/t/thread.t
index 8f7ffe817b..5ca3d1a656 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.82;' .
+run_perl(prog => 'use threads 1.83;' .
'sub a{threads->create(shift)} $t = a sub{};' .
'$t->tid; $t->join; $t->tid',
nolib => ($ENV{PERL_CORE}) ? 0 : 1,