AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.03.16 13:20 "-D_REENTRANT for libtiff and jpeg?", by Ivo
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

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