This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Add critical section
authorKarl Williamson <khw@cpan.org>
Thu, 15 Feb 2018 12:41:51 +0000 (05:41 -0700)
committerKarl Williamson <khw@cpan.org>
Sun, 18 Feb 2018 18:31:08 +0000 (11:31 -0700)
commit5a91a58bdfe7443b1aadff310cbd7f80c36e29ad
tree7e17a84d432e700b1e0472f5cea712fbc299bf4e
parent480151840b2db4a86227e2e16917d25d6d655b41
locale.c: Add critical section

This code should be protected from another thread doing the same thing
nearly simultaneously, so that the static buffer doesn't get zapped in
this system call.
locale.c