diff options
author | Karl Williamson <khw@cpan.org> | 2018-02-05 22:11:51 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-02-18 15:44:23 -0700 |
commit | e9bc6d6b34afc0063cc5181b59f77eeb81b1182d (patch) | |
tree | 1028b01c95db9ebdc6d78340ca1f00aad07fe922 /pod/perlembed.pod | |
parent | ddd5ebe0cadc81a0360ad8007674490fda89ee88 (diff) | |
download | perl-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/perlembed.pod')
-rw-r--r-- | pod/perlembed.pod | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perlembed.pod b/pod/perlembed.pod index 2196ad8094..d6391f7a26 100644 --- a/pod/perlembed.pod +++ b/pod/perlembed.pod @@ -1108,6 +1108,11 @@ C pre-processor symbol C<HAS_SKIP_LOCALE_INIT>. This allows code that has to work with multiple Perl versions to do some sort of work-around when confronted with an earlier Perl. +If your program is using the POSIX 2008 multi-thread locale +functionality, you should switch into the global locale and set that up +properly before starting the Perl interpreter. It will then properly +switch back to using the thread-safe functions. + =head1 Hiding Perl_ If you completely hide the short forms of the Perl public API, |