2017.03.01 17:05 "[Tiff] Using libtiff in a multi-threaded context", by Dinesh Iyer

2017.03.01 18:33 "Re: [Tiff] Using libtiff in a multi-threaded context", by Roger Leigh

On 01/03/2017 17:05, Dinesh Iyer wrote:

I am developing an application to read TIFF files using libtiff and I am using multi-threading to improve performance. I was wondering if I can do query operations such as TIFFComputeTile/TIFFComputeTile/TIFFgetfield at the same time that I am calling TIFFReadEncodedStrip on a different thread.

See https://github.com/ome/ome-files-cpp/blob/master/lib/ome/files/tiff/Sentry.cpp for my approach to tackling this.