| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2000.03.16 22:11 "Re: -D_REENTRANT for libtiff and jpeg?", by Tom Lane"Ivo" <ivo.penzar@infolink-software.com> writes:
> So far, so good (almost). Nevertheless, I am still not complitely sure if
> there could be some non-reentrant functions or static variables deep into
> the libtiff or jpeg libraries?
libjpeg is thread-safe as long as (a) you don't have multiple threads
operating concurrently on the same jpeg object, and (b) your underlying
C library (particularly malloc/free) is thread-safe. You can have
multiple jpeg objects being manipulated concurrently by different
threads.
ISTR that libtiff used to have static variables, but that was years ago;
perhaps it's been cleaned up?
regards, tom lane
organizer, Independent JPEG Group
|
|||||||