This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Name individual locale locks
authorKarl Williamson <khw@cpan.org>
Mon, 30 Nov 2020 17:11:01 +0000 (10:11 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 8 Dec 2020 13:44:20 +0000 (06:44 -0700)
commit7953f73fd803e53f20bdf0801f194691543b0f87
treef878bb88c4abc11dbf96315da1283b57c1c6eecd
parentd9e22c6a8a05aab7fffdbf810f74ddfcb4efd752
Name individual locale locks

These locks for different functions all use the same underlying mutex;
but that may not always be the case.  By creating separate names
used only when we think they will be necessary, the compiler will
complain if the conditions in the code that actually use them are the
same.  Doing this showed a misspelling in an #ifdef, fixed in
9289d4dc7a3d24b20c6e25045e687321ee3e8faf
ext/POSIX/POSIX.xs
locale.c
perl.h