Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit e724c62

Browse files
committed
threads::shared: Update to 1.57
Fix Clang macro backward compatibility per patch by Andy Grundman RT #131124 Memory allocation fix.
1 parent 230d1da commit e724c62

File tree

7 files changed

+24
-7
lines changed

7 files changed

+24
-7
lines changed

Porting/Maintainers.pl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,15 +1481,17 @@ package Maintainers;
14811481
},
14821482

14831483
'threads::shared' => {
1484-
'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.55.tar.gz',
1484+
'DISTRIBUTION' => 'JDHEDDEN/threads-shared-1.57.tar.gz',
14851485
'FILES' => q[dist/threads-shared],
14861486
'EXCLUDED' => [
14871487
qw( examples/class.pl
14881488
shared.h
14891489
t/pod.t
14901490
t/test.pl
14911491
),
1492-
],
1492+
],
1493+
# appveyor smoking
1494+
'CUSTOMIZED' => [ 't/waithires.t' ],
14931495
},
14941496

14951497
'Tie::File' => {

dist/Module-CoreList/lib/Module/CoreList.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14979,6 +14979,7 @@ our %delta = (
1497914979
'Search::Dict' => '1.07_01',
1498014980
'SelectSaver' => '1.02_01',
1498114981
'threads' => '2.16_01',
14982+
'threads::shared' => '1.57',
1498214983
'VMS::Studio' => '2.41_01',
1498314984
},
1498414985
removed => {
@@ -15156,6 +15157,7 @@ our %delta = (
1515615157
'Storable' => '3.05_13',
1515715158
'strict' => '1.13c',
1515815159
'threads' => '2.16_01',
15160+
'threads::shared' => '1.57',
1515915161
'VMS::Studio' => '2.41_01',
1516015162
'Win32API::File' => '0.1204',
1516115163
},

dist/threads-shared/Changes

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

3+
1.57 Sun May 7 22:48:33 2017
4+
- Fix Clang macro backward compatibility per patch by Andy Grundman
5+
6+
1.56 Fri Apr 14 10:51:56 2017 +0100
7+
- RT #131124 Memory allocation fix (not released to CPAN)
8+
39
1.55 Sun Feb 26 18:23:45 2017
410
- Document issue with destructor not called on embedded shared objects
511

dist/threads-shared/lib/threads/shared.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use warnings;
77

88
use Scalar::Util qw(reftype refaddr blessed);
99

10-
our $VERSION = '1.56'; # Please update the pod, too.
10+
our $VERSION = '1.57'; # Please update the pod, too.
1111
my $XS_VERSION = $VERSION;
1212
$VERSION = eval $VERSION;
1313

@@ -195,7 +195,7 @@ threads::shared - Perl extension for sharing data structures between threads
195195
196196
=head1 VERSION
197197
198-
This document describes threads::shared version 1.56
198+
This document describes threads::shared version 1.57
199199
200200
=head1 SYNOPSIS
201201

dist/threads-shared/shared.xs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,14 +656,15 @@ Perl_sharedsv_cond_timedwait(perl_cond *cond, perl_mutex *mut, double abs)
656656
abs -= (NV)ts.tv_sec;
657657
ts.tv_nsec = (long)(abs * 1000000000.0);
658658

659-
#if defined(__clang__) || defined(__clang)
659+
#if defined(CLANG_DIAG_IGNORE)
660660
CLANG_DIAG_IGNORE(-Wthread-safety);
661661
/* warning: calling function 'pthread_cond_timedwait' requires holding mutex 'mut' exclusively [-Wthread-safety-analysis] */
662662
#endif
663663

664664
switch (pthread_cond_timedwait(cond, mut, &ts)) {
665665

666-
#if defined(__clang__) || defined(__clang)
666+
/* perl.h defines CLANG_DIAG_* but only in 5.24+ */
667+
#if defined(CLANG_DIAG_RESTORE)
667668
CLANG_DIAG_RESTORE;
668669
#endif
669670

pod/perlcdelta.pod

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,11 @@ Fix Clang macro backward compatibility per patch by Andy Grundman.
451451
Keep the old better doc.
452452
Keep our modglobal fix in global destruction from 2.12_01.
453453

454+
=item L<threads::shared> 1.57
455+
456+
Fix Clang macro backward compatibility per patch by Andy Grundman.
457+
RT #131124 Memory allocation fix.
458+
454459
=item L<VMS::Studio> 2.41_01
455460

456461
Bump version

t/porting/customized.dat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Math::BigInt cpan/Math-BigInt/t/upgrade.t 7c15cac7f321ca396648ec45da6389a1283e15
101101
Math::BigInt cpan/Math-BigInt/t/upgradef.t 06610e9883ce805bcd6543ab959a9826f598eb40
102102
Math::BigInt cpan/Math-BigInt/t/with_sub.t c040328e223df6f56250f5d67dcb2c9a2f23c110
103103
Memoize cpan/Memoize/t/expmod_t.t 9386100cd9c95a0e8a4e001bba3aa52eec114d21
104-
Module::CoreList dist/Module-CoreList/lib/Module/CoreList.pm 996a9a8eed1deea69a295119952d351fd21d155b
104+
Module::CoreList dist/Module-CoreList/lib/Module/CoreList.pm 1b7766aaebc990aad7ade7d4cd33dff1fd0749ee
105105
Module::CoreList dist/Module-CoreList/lib/Module/CoreList/Utils.pm 7ff05ce5f0b967d229b90870de806ce3fea82b22
106106
Module::Metadata cpan/Module-Metadata/t/lib/GeneratePackage.pm 502ffbe2609947430e6aa1a3df8064b3fef3e086
107107
Net::Domain cpan/libnet/lib/Net/Cmd.pm 70a007c38833667ad47ea8059c37c1b7d1c77b6c
@@ -149,6 +149,7 @@ lib dist/lib/lib_pm.PL 04a3dedbc657cac6c8db1faf2f0c6a7af328a23f
149149
threads dist/threads/lib/threads.pm fa549502b14272e4543276f3601bae5e3b0dd5fa
150150
threads dist/threads/t/locale.t 9a2a5b43a39867590eb288d4a1759abac2052aa8
151151
threads dist/threads/threads.xs 68d0d92c37b75b510bd4d34e765d0cb97bc7296a
152+
threads::shared dist/threads-shared/t/waithires.t dc867159fd2fa8c09326cd7627f5a0635ca5e3b5
152153
version cpan/version/lib/version.pm 46e7b7eed74b5080b23f852acd84e6ca5aab6d74
153154
version cpan/version/lib/version/regex.pm a2e6098571d8085340d4378ec21ad54bbcce1ceb
154155
version vutil.c 0743d196360e6b35726049fdff765c61de5d4847

0 commit comments

Comments
 (0)