summaryrefslogtreecommitdiff
path: root/perlvars.h
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 /perlvars.h
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 'perlvars.h')
-rw-r--r--perlvars.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlvars.h b/perlvars.h
index 86a369e9ba..5466294963 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -99,6 +99,8 @@ PERLVARI(G, mmap_page_size, IV, 0)
#if defined(USE_ITHREADS)
PERLVAR(G, hints_mutex, perl_mutex) /* Mutex for refcounted he refcounting */
+PERLVAR(G, locale_mutex, perl_mutex) /* Mutex for setlocale() changing */
+
#endif
#ifdef DEBUGGING