summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/tlpkg/tlperl/lib/threads
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-04-11 03:09:12 +0000
committerNorbert Preining <norbert@preining.info>2020-04-11 03:09:12 +0000
commitc2697fc286a1e2c94fd9968b76be6f4a6d2114cd (patch)
tree1dc2cfb07cb032740483dd8be7c74aff66b70352 /systems/texlive/tlnet/tlpkg/tlperl/lib/threads
parent25111608e6aa05042b0c6f83009262e1973d7a45 (diff)
CTAN sync 202004110309
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/tlperl/lib/threads')
-rw-r--r--systems/texlive/tlnet/tlpkg/tlperl/lib/threads/shared.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/threads/shared.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/threads/shared.pm
index b9ba66e85b..45ad154979 100644
--- a/systems/texlive/tlnet/tlpkg/tlperl/lib/threads/shared.pm
+++ b/systems/texlive/tlnet/tlpkg/tlperl/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.60'; # 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.60
=head1 SYNOPSIS