Skip to content

Commit 2cefb41

Browse files
author
jdhedden
committed
threads-shared v1.22
1 parent 57b9d94 commit 2cefb41

22 files changed

+71
-28
lines changed

Changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Revision history for Perl extension threads::shared.
22

3+
1.22 Tue Jun 10 17:15:36 2008
4+
- Upgraded ppport.h to Devel::PPPort 3.14
5+
- LICENSE section in POD
6+
- End all tests with exit(0)
7+
38
1.21 Wed May 14 15:15:44 2008
49
- Added shared_clone()
510
- Fixed is_shared($x->{elem}) and the like

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
threads::shared version 1.21
1+
threads::shared version 1.22
22
============================
33

44
This module needs Perl 5.8.0 or later compiled with USEITHREADS.

ppport.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shared.pm

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use warnings;
77

88
use Scalar::Util qw(reftype refaddr blessed);
99

10-
our $VERSION = '1.21';
10+
our $VERSION = '1.22';
1111
my $XS_VERSION = $VERSION;
1212
$VERSION = eval $VERSION;
1313

@@ -186,7 +186,7 @@ threads::shared - Perl extension for sharing data structures between threads
186186
187187
=head1 VERSION
188188
189-
This document describes threads::shared version 1.21
189+
This document describes threads::shared version 1.22
190190
191191
=head1 SYNOPSIS
192192
@@ -540,7 +540,7 @@ L<threads::shared> Discussion Forum on CPAN:
540540
L<http://www.cpanforum.com/dist/threads-shared>
541541
542542
Annotated POD for L<threads::shared>:
543-
L<http://annocpan.org/~JDHEDDEN/threads-shared-1.21/shared.pm>
543+
L<http://annocpan.org/~JDHEDDEN/threads-shared-1.22/shared.pm>
544544
545545
Source repository:
546546
L<http://code.google.com/p/threads-shared/>
@@ -557,10 +557,12 @@ L<http://lists.cpan.org/showlist.cgi?name=iThreads>
557557
558558
Artur Bergman E<lt>sky AT crucially DOT netE<gt>
559559
560-
threads::shared is released under the same license as Perl.
561-
562560
Documentation borrowed from the old Thread.pm.
563561
564562
CPAN version produced by Jerry D. Hedden E<lt>jdhedden AT cpan DOT orgE<gt>.
565563
564+
=head1 LICENSE
565+
566+
threads::shared is released under the same license as Perl.
567+
566568
=cut

t/0nothread.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,6 @@ array(24, 42, 'Thing');
8080
share(\%hash);
8181
hash(24, 42, 'Thing');
8282

83+
exit(0);
84+
8385
# EOF

t/av_refs.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BEGIN {
88
}
99
use Config;
1010
if (! $Config{'useithreads'}) {
11-
print("1..0 # Skip: Perl not compiled with 'useithreads'\n");
11+
print("1..0 # SKIP Perl not compiled with 'useithreads'\n");
1212
exit(0);
1313
}
1414
}
@@ -94,4 +94,6 @@ ok(13, is_shared(@av), "Check for sharing");
9494
my $x :shared;
9595
ok(14, is_shared($x), "Check for sharing");
9696

97+
exit(0);
98+
9799
# EOF

t/av_simple.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BEGIN {
88
}
99
use Config;
1010
if (! $Config{'useithreads'}) {
11-
print("1..0 # Skip: Perl not compiled with 'useithreads'\n");
11+
print("1..0 # SKIP Perl not compiled with 'useithreads'\n");
1212
exit(0);
1313
}
1414
}
@@ -134,4 +134,6 @@ ok(37, !defined delete($foo[0]), "Check that delete works from a thread");
134134

135135
ok(44, is_shared(@foo), "Check for sharing");
136136

137+
exit(0);
138+
137139
# EOF

t/blessed.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BEGIN {
88
}
99
use Config;
1010
if (! $Config{'useithreads'}) {
11-
print("1..0 # Skip: Perl not compiled with 'useithreads'\n");
11+
print("1..0 # SKIP Perl not compiled with 'useithreads'\n");
1212
exit(0);
1313
}
1414
}
@@ -138,4 +138,6 @@ ok(35, ref($$hobj{'array'}) eq 'gnay', "reblessed array in hash");
138138
ok(36, ref($$hobj{'scalar'}) eq 'zab', "reblessed scalar in hash");
139139
ok(37, ${$$hobj{'scalar'}} eq 'test', "reblessed scalar in hash contents");
140140

141+
exit(0);
142+
141143
# EOF

t/clone.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BEGIN {
88
}
99
use Config;
1010
if (! $Config{'useithreads'}) {
11-
print("1..0 # Skip: Perl not compiled with 'useithreads'\n");
11+
print("1..0 # SKIP Perl not compiled with 'useithreads'\n");
1212
exit(0);
1313
}
1414
}
@@ -156,4 +156,6 @@ ok($test++, 1, 'Loaded');
156156
ok($test++, $$hsh{'foo'}[1] eq 'bar', 'Cloned structure');
157157
}
158158

159+
exit(0);
160+
159161
# EOF

t/cond.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BEGIN {
88
}
99
use Config;
1010
if (! $Config{'useithreads'}) {
11-
print("1..0 # Skip: Perl not compiled with 'useithreads'\n");
11+
print("1..0 # SKIP Perl not compiled with 'useithreads'\n");
1212
exit(0);
1313
}
1414
}
@@ -282,4 +282,6 @@ $Base++;
282282
$Base += 4;
283283
}
284284

285+
exit(0);
286+
285287
# EOF

0 commit comments

Comments
 (0)