AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2000

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2000.03.16 13:20 "-D_REENTRANT for libtiff and jpeg?", by Ivo Penzar
2000.03.16 22:11 "Re: -D_REENTRANT for libtiff and jpeg?", by Tom Lane
2000.03.17 01:45 "Re: -D_REENTRANT for libtiff and jpeg?", by Phillip Crews

2000.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