summaryrefslogtreecommitdiff
path: root/dist
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 /dist
parent25a72d73f1dd26359f2548feeaf8e01813d994fd (diff)
downloadperl-fdfb42a002109c363323d684cff78d54ae48eea1.tar.gz
Upgrade to threads::shared 1.59
Committer: perldelta entry
Diffstat (limited to 'dist')
-rw-r--r--dist/threads-shared/lib/threads/shared.pm7
1 files changed, 4 insertions, 3 deletions
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