This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document that encoding.pm isn't thread-safe, by Jerry D. Hedden
[perl5.git] / ext / Encode / encoding.pm
index 5b9bdf8..72a1c82 100644 (file)
@@ -628,6 +628,11 @@ unicode characters since you have to consider such things as character
 width (i.e. double-width for ideographs) and directions (i.e. BIDI for
 Arabic and Hebrew).
 
+=item Thread safety
+
+C<use encoding ...> is not thread-safe (i.e., do not use in threaded
+applications).
+
 =back
 
 =head2 The Logic of :locale