Skip to content

Commit 95ec88f

Browse files
jdheddenjkeenan
authored andcommitted
Upgrade to threads 2.08
1 parent 9ec9395 commit 95ec88f

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

Porting/Maintainers.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ package Maintainers;
11771177
},
11781178

11791179
'threads' => {
1180-
'DISTRIBUTION' => 'JDHEDDEN/threads-2.07.tar.gz',
1180+
'DISTRIBUTION' => 'JDHEDDEN/threads-2.08.tar.gz',
11811181
'FILES' => q[dist/threads],
11821182
'EXCLUDED' => [
11831183
qr{^examples/},

dist/threads/lib/threads.pm

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use 5.008;
55
use strict;
66
use warnings;
77

8-
our $VERSION = '2.07';
8+
our $VERSION = '2.08';
99
my $XS_VERSION = $VERSION;
1010
$VERSION = eval $VERSION;
1111

@@ -134,7 +134,7 @@ threads - Perl interpreter-based threads
134134
135135
=head1 VERSION
136136
137-
This document describes threads version 2.07
137+
This document describes threads version 2.08
138138
139139
=head1 WARNING
140140
@@ -1086,8 +1086,11 @@ Perl 5.8.0 or later
10861086
10871087
=head1 SEE ALSO
10881088
1089-
L<threads> Discussion Forum on CPAN:
1090-
L<http://www.cpanforum.com/dist/threads>
1089+
threads on MetaCPAN:
1090+
L<https://metacpan.org/release/threads>
1091+
1092+
Code repository for CPAN distribution:
1093+
L<https://github.com/Dual-Life/threads>
10911094
10921095
L<threads::shared>, L<perlthrtut>
10931096
@@ -1100,6 +1103,8 @@ L<http://lists.perl.org/list/ithreads.html>
11001103
Stack size discussion:
11011104
L<http://www.perlmonks.org/?node_id=532956>
11021105
1106+
Sample code in the I<examples> directory of this distribution on CPAN.
1107+
11031108
=head1 AUTHOR
11041109
11051110
Artur Bergman E<lt>sky AT crucially DOT netE<gt>

dist/threads/t/exit.t

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ my $rc = $thr->join();
4848
ok(! defined($rc), 'Exited: threads->exit()');
4949

5050

51-
run_perl(prog => 'use threads 2.07;' .
51+
run_perl(prog => 'use threads 2.08;' .
5252
'threads->exit(86);' .
5353
'exit(99);',
5454
nolib => ($ENV{PERL_CORE}) ? 0 : 1,
@@ -98,7 +98,7 @@ $rc = $thr->join();
9898
ok(! defined($rc), 'Exited: $thr->set_thread_exit_only');
9999

100100

101-
run_perl(prog => 'use threads 2.07 qw(exit thread_only);' .
101+
run_perl(prog => 'use threads 2.08 qw(exit thread_only);' .
102102
'threads->create(sub { exit(99); })->join();' .
103103
'exit(86);',
104104
nolib => ($ENV{PERL_CORE}) ? 0 : 1,
@@ -108,7 +108,7 @@ run_perl(prog => 'use threads 2.07 qw(exit thread_only);' .
108108
is($?>>8, 86, "'use threads 'exit' => 'thread_only'");
109109
}
110110

111-
my $out = run_perl(prog => 'use threads 2.07;' .
111+
my $out = run_perl(prog => 'use threads 2.08;' .
112112
'threads->create(sub {' .
113113
' exit(99);' .
114114
'});' .
@@ -124,7 +124,7 @@ my $out = run_perl(prog => 'use threads 2.07;' .
124124
like($out, qr/1 finished and unjoined/, "exit(status) in thread");
125125

126126

127-
$out = run_perl(prog => 'use threads 2.07 qw(exit thread_only);' .
127+
$out = run_perl(prog => 'use threads 2.08 qw(exit thread_only);' .
128128
'threads->create(sub {' .
129129
' threads->set_thread_exit_only(0);' .
130130
' exit(99);' .
@@ -141,7 +141,7 @@ $out = run_perl(prog => 'use threads 2.07 qw(exit thread_only);' .
141141
like($out, qr/1 finished and unjoined/, "set_thread_exit_only(0)");
142142

143143

144-
run_perl(prog => 'use threads 2.07;' .
144+
run_perl(prog => 'use threads 2.08;' .
145145
'threads->create(sub {' .
146146
' $SIG{__WARN__} = sub { exit(99); };' .
147147
' die();' .

dist/threads/t/thread.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ package main;
161161

162162
# bugid #24165
163163

164-
run_perl(prog => 'use threads 2.07;' .
164+
run_perl(prog => 'use threads 2.08;' .
165165
'sub a{threads->create(shift)} $t = a sub{};' .
166166
'$t->tid; $t->join; $t->tid',
167167
nolib => ($ENV{PERL_CORE}) ? 0 : 1,

0 commit comments

Comments
 (0)