2004.11.04 18:31 "[Tiff] is libtiff thread-safe?", by James Xu

2004.11.04 23:09 "Re: [Tiff] is libtiff thread-safe?", by Chris Cox

Thanks for the information.

My particular situation requires the ability to handle multiple threads, each having their own TIFF*, all possibly using the RGBA interfaces for reading. And, from your deescription, it sounds like everything should be OK, *if* the RGBA stuff is able to handle multiple threads, each with their own TIFF*.

Right, *except* for the warning/error callback interfaces which we already know have problems since they do not include a pointer to user context. However, thread-specific data techniques can be used (by the application) to work-around these particular problems.

Documenting that issue and suggesting that the callbacks contain a mutex or critical section (if thread safety is an issue) might be a good idea.

Chris