summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhedden <jdhedden@cpan.org>2018-11-27 22:53:40 -0500
committerJames E Keenan <jkeenan@cpan.org>2018-11-28 08:45:55 -0500
commitfdfb42a002109c363323d684cff78d54ae48eea1 (patch)
tree65d52085487a2b019602b5490261f8eb462526bf
parent25a72d73f1dd26359f2548feeaf8e01813d994fd (diff)
downloadperl-fdfb42a002109c363323d684cff78d54ae48eea1.tar.gz
Upgrade to threads::shared 1.59
Committer: perldelta entry
-rwxr-xr-xPorting/Maintainers.pl2
-rw-r--r--dist/threads-shared/lib/threads/shared.pm7
-rw-r--r--pod/perldelta.pod4
3 files changed, 9 insertions, 4 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index eb9b4e0a01..0e4a45ae87 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -1140,7 +1140,7 @@ use File::Glob qw(:case);
},
'threads::shared' => {
- 'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.58.tar.gz',
+ 'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.59.tar.gz',
'FILES' => q[dist/threads-shared],
'EXCLUDED' => [
qw( examples/class.pl
diff --git a/dist/threads-shared/lib/threads/shared.pm b/dist/threads-shared/lib/threads/shared.pm
index b9ba66e85b..f7e5ff8e73 100644
--- a/dist/threads-shared/lib/threads/shared.pm
+++ b/dist/threads-shared/lib/threads/shared.pm
@@ -4,10 +4,11 @@ use 5.008;
use strict;
use warnings;
+use Config;
use Scalar::Util qw(reftype refaddr blessed);
-our $VERSION = '1.58'; # Please update the pod, too.
+our $VERSION = '1.59'; # Please update the pod, too.
my $XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
@@ -18,7 +19,7 @@ $threads::shared::threads_shared = 1;
$threads::shared::clone_warn = undef;
# Load the XS code, if applicable
-if ($threads::threads) {
+if ($Config::Config{'useithreads'} && $threads::threads) {
require XSLoader;
XSLoader::load('threads::shared', $XS_VERSION);
@@ -195,7 +196,7 @@ threads::shared - Perl extension for sharing data structures between threads
=head1 VERSION
-This document describes threads::shared version 1.58
+This document describes threads::shared version 1.59
=head1 SYNOPSIS
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 18e2e17856..90c8480738 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -125,6 +125,10 @@ XXX Remove this section if not applicable.
=item *
+L<threads::shared> has been upgraded from version 1.58 to 1.59.
+
+=item *
+
L<XXX> has been upgraded from version A.xx to B.yy.
If there was something important to note about this change, include that here.