Skip to content

Commit 5286c07

Browse files
author
jdhedden
committed
threads-shared v1.17
1 parent f0ac69a commit 5286c07

File tree

6 files changed

+13
-24
lines changed

6 files changed

+13
-24
lines changed

Changes

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

3+
1.17 Fri Feb 22 21:28:52 2008
4+
- Allow installation on non-threaded Perls
5+
36
1.16 Wed Feb 20 17:15:44 2008
47
- Blead change 33256
58
- Upgraded ppport.h to Devel::PPPort 3.13_01

Makefile.PL

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,13 @@ if (grep { $_ eq 'PERL_CORE=1' } @ARGV) {
5555

5656
# Verify that a 'C' compiler is available
5757
if (! have_cc()) {
58-
die("No 'C' compiler found to build 'threads'\n");
58+
die("No 'C' compiler found to build 'threads::shared'\n");
5959
}
6060

6161
push(@conditional_params, 'DEFINE' => '-DHAS_PPPORT_H',
6262
'PREREQ_PM' => {
6363
'strict' => 0,
6464
'warnings' => 0,
65-
'threads' => 0,
6665
'Config' => 0,
6766
'Carp' => 0,
6867
'XSLoader' => 0,

README

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
threads::shared version 1.16
1+
threads::shared version 1.17
22
============================
33

44
This module needs Perl 5.8.0 or later compiled with USEITHREADS.
@@ -13,12 +13,6 @@ To install this module type the following:
1313
make test
1414
make install
1515

16-
DEPENDENCIES
17-
18-
This module requires these other modules and libraries:
19-
20-
threads
21-
2216
COPYRIGHT AND LICENCE
2317

2418
Copyright (C) 2001 Artur Bergman <sky AT crucially DOT net>

shared.pm

Lines changed: 8 additions & 5 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 = '1.16';
8+
our $VERSION = '1.17';
99
my $XS_VERSION = $VERSION;
1010
$VERSION = eval $VERSION;
1111

@@ -73,7 +73,7 @@ threads::shared - Perl extension for sharing data structures between threads
7373
7474
=head1 VERSION
7575
76-
This document describes threads::shared version 1.16
76+
This document describes threads::shared version 1.17
7777
7878
=head1 SYNOPSIS
7979
@@ -315,8 +315,11 @@ works on shared objects such that I<blessings> propagate across threads.
315315
316316
=head1 NOTES
317317
318-
threads::shared is designed to disable itself silently if threads are not
319-
available. If you want access to threads, you must C<use threads> before you
318+
L<threads::shared> is designed to disable itself silently if threads are not
319+
available. This allows you to write modules and packages that can be used
320+
in both threaded and non-threaded applications.
321+
322+
If you want access to threads, you must C<use threads> before you
320323
C<use threads::shared>. L<threads> will emit a warning if you use it after
321324
L<threads::shared>.
322325
@@ -368,7 +371,7 @@ L<threads::shared> Discussion Forum on CPAN:
368371
L<http://www.cpanforum.com/dist/threads-shared>
369372
370373
Annotated POD for L<threads::shared>:
371-
L<http://annocpan.org/~JDHEDDEN/threads-shared-1.16/shared.pm>
374+
L<http://annocpan.org/~JDHEDDEN/threads-shared-1.17/shared.pm>
372375
373376
Source repository:
374377
L<http://code.google.com/p/threads-shared/>

t/0nothread.t

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ BEGIN {
66
chdir 't';
77
unshift @INC, '../lib';
88
}
9-
use Config;
10-
if (! $Config{'useithreads'}) {
11-
print("1..0 # Skip: Perl not compiled with 'useithreads'\n");
12-
exit(0);
13-
}
149
}
1510

1611
use Test::More (tests => 53);

t/disabled.t

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ BEGIN {
66
chdir 't';
77
unshift @INC, '../lib';
88
}
9-
use Config;
10-
if (! $Config{'useithreads'}) {
11-
print("1..0 # Skip: Perl not compiled with 'useithreads'\n");
12-
exit(0);
13-
}
149
}
1510

1611
use Test;

0 commit comments

Comments
 (0)