Skip to content

Commit 40e3cee

Browse files
jdheddenjkeenan
authored andcommitted
Upgrade to threads 2.21
1 parent b404a7f commit 40e3cee

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Porting/Maintainers.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ package Maintainers;
11601160
},
11611161

11621162
'threads' => {
1163-
'DISTRIBUTION' => 'JDHEDDEN/threads-2.16.tar.gz',
1163+
'DISTRIBUTION' => 'JDHEDDEN/threads-2.21.tar.gz',
11641164
'FILES' => q[dist/threads],
11651165
'EXCLUDED' => [
11661166
qr{^examples/},

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.16;' .
51+
run_perl(prog => 'use threads 2.21;' .
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.16 qw(exit thread_only);' .
101+
run_perl(prog => 'use threads 2.21 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.16 qw(exit thread_only);' .
108108
is($?>>8, 86, "'use threads 'exit' => 'thread_only'");
109109
}
110110

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

126126

127-
$out = run_perl(prog => 'use threads 2.16 qw(exit thread_only);' .
127+
$out = run_perl(prog => 'use threads 2.21 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.16 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.16;' .
144+
run_perl(prog => 'use threads 2.21;' .
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.16;' .
164+
run_perl(prog => 'use threads 2.21;' .
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)