summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-04-06 21:46:28 -0600
committerKarl Williamson <khw@cpan.org>2016-04-09 13:59:24 -0600
commit929e12133425199fce3fe026156c10876ac0cbb8 (patch)
tree95286d2bc13b80afe4ed3872c14fd9c081235260 /perl.c
parent68b940afc96546256736bc5d8185075ddc12b205 (diff)
downloadperl-929e12133425199fce3fe026156c10876ac0cbb8.tar.gz
Add locale mutex
This adds a new mutex for use in the next commit for use with locale handling.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 8c8eec1461..228a0d8d8c 100644
--- a/perl.c
+++ b/perl.c
@@ -93,6 +93,7 @@ S_init_tls_and_interp(PerlInterpreter *my_perl)
OP_REFCNT_INIT;
OP_CHECK_MUTEX_INIT;
HINTS_REFCNT_INIT;
+ LOCALE_INIT;
MUTEX_INIT(&PL_dollarzero_mutex);
MUTEX_INIT(&PL_my_ctx_mutex);
# endif