Upgrade to threads::shared 1.54
authorjdhedden <jdhedden@cpan.org>
Sat, 31 Dec 2016 17:33:47 +0000 (12:33 -0500)
committerJames E Keenan <jkeenan@cpan.org>
Sat, 31 Dec 2016 17:47:18 +0000 (12:47 -0500)
Porting/Maintainers.pl
dist/threads-shared/lib/threads/shared.pm
dist/threads-shared/shared.xs

index 007e8d0..c7c54e6 100755 (executable)
@@ -1257,7 +1257,7 @@ use File::Glob qw(:case);
     },
 
     'threads::shared' => {
-        'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.53.tar.gz',
+        'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.54.tar.gz',
         'FILES'        => q[dist/threads-shared],
         'EXCLUDED'     => [
             qw( examples/class.pl
index 1bcf69d..d42981b 100644 (file)
@@ -7,7 +7,7 @@ use warnings;
 
 use Scalar::Util qw(reftype refaddr blessed);
 
-our $VERSION = '1.53'; # Please update the pod, too.
+our $VERSION = '1.54'; # Please update the pod, too.
 my $XS_VERSION = $VERSION;
 $VERSION = eval $VERSION;
 
@@ -195,7 +195,7 @@ threads::shared - Perl extension for sharing data structures between threads
 
 =head1 VERSION
 
-This document describes threads::shared version 1.53
+This document describes threads::shared version 1.54
 
 =head1 SYNOPSIS
 
index 2f3dd91..dab5e36 100644 (file)
@@ -656,8 +656,10 @@ Perl_sharedsv_cond_timedwait(perl_cond *cond, perl_mutex *mut, double abs)
     abs -= (NV)ts.tv_sec;
     ts.tv_nsec = (long)(abs * 1000000000.0);
 
+#if defined(__clang__) || defined(__clang)
     CLANG_DIAG_IGNORE(-Wthread-safety);
     /* warning: calling function 'pthread_cond_timedwait' requires holding mutex 'mut' exclusively [-Wthread-safety-analysis] */
+#endif
 
     switch (pthread_cond_timedwait(cond, mut, &ts)) {