summaryrefslogtreecommitdiff
path: root/pod/perlvar.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-02-05 22:11:51 -0700
committerKarl Williamson <khw@cpan.org>2018-02-18 15:44:23 -0700
commite9bc6d6b34afc0063cc5181b59f77eeb81b1182d (patch)
tree1028b01c95db9ebdc6d78340ca1f00aad07fe922 /pod/perlvar.pod
parentddd5ebe0cadc81a0360ad8007674490fda89ee88 (diff)
downloadperl-e9bc6d6b34afc0063cc5181b59f77eeb81b1182d.tar.gz
Add thread-safe locale handling
This (large) commit allows locales to be used in threaded perls on platforms that support it. This includes recent Windows and Posix 2008 ones.
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r--pod/perlvar.pod6
1 files changed, 5 insertions, 1 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index 8f99c406fc..06d1ef9a93 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -2264,7 +2264,11 @@ X<${^SAFE_LOCALES}>
Reflects if safe locale operations are available to this perl (when the
value is 1) or not (the value is 0). This variable is always 1 if the
-perl has been compiled without threads, and currently 0 otherwise.
+perl has been compiled without threads. It is also 1 if this perl is
+using thread-safe locale operations. Note that an individual thread may
+choose to use the global locale (generally unsafe) by calling
+C<switch_to_global_locale>. This variable currently is still
+set to 1 in such threads.
This variable is read-only.