Document that encoding.pm isn't thread-safe, by Jerry D. Hedden
Rafael Garcia-Suarez [Fri, 19 Oct 2007 11:06:58 +0000 (11:06 +0000)]
p4raw-id: //depot/perl@32146

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