summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pod/perllocale.pod7
1 files changed, 4 insertions, 3 deletions
diff --git a/pod/perllocale.pod b/pod/perllocale.pod
index 176667adb7..b2053a1444 100644
--- a/pod/perllocale.pod
+++ b/pod/perllocale.pod
@@ -412,9 +412,10 @@ L<thread|threads>. The locale will change in all other threads at the
same time, and should your thread get paused by the operating system,
and another started, that thread will not have the locale it is
expecting. On some platforms, there can be a race leading to segfaults
-if two threads call this function nearly simultaneously. On unthreaded
-builds, or on Perl 5.28 and later on thread-safe systems, this warning
-does not apply.
+if two threads call this function nearly simultaneously. This warning
+does not apply on unthreaded builds, or on perls where
+C<${^SAFE_LOCALES}> exists and is non-zero; namely Perl 5.28 and later
+unthreaded or compiled to be locale-thread-safe.
You can switch locales as often as you wish at run time with the
C<POSIX::setlocale()> function: