From: Tony Cook Date: Sun, 9 Sep 2012 13:55:54 +0000 (+1000) Subject: more thread docs X-Git-Tag: v0.93~33^2~5 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/23c53e3ef91c301fdbf469f0dc6df89da34b7911 more thread docs --- diff --git a/lib/Imager/Threads.pod b/lib/Imager/Threads.pod index 7defd842..a99a995a 100644 --- a/lib/Imager/Threads.pod +++ b/lib/Imager/Threads.pod @@ -41,8 +41,20 @@ its access to C. =item * -killing a thread reading or writing TIFF or GIF files may deadlock -other threads when they attempt to read or write TIFF or GIF files. +C, used by one of Imager's font drivers, is not thread safe. +C works around this by single threading access. + +=item * + +killing a thread reading or writing TIFF or GIF files, or using T1 +fonts through C may deadlock other threads when they +attempt to read or write TIFF or GIF files, or work with Type 1 fonts. + +=item * + +Fill, font, color or I/O layer objects created in one thread and are +valid for use in child threads. If you manage to duplicate such an +object in another thread, you get to keep both pieces when it breaks. =back