AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.01.30 01:02 "libtiff in a M$ Windows Visual C++ 5.0 DLL for Borland Delphi 3,4,5", by Joris Van Damme
2000.01.31 14:46 "Re: libtiff in a M$ Windows Visual C++ 5.0 DLL for Borland Delphi 3,4,5", by Bruce Cameron
2000.01.31 15:02 "Re: libtiff in a M$ Windows Visual C++ 5.0 DLL for Borland Delphi 3,4,5", by Frank Warmerdam
2000.01.31 15:05 "Re: libtiff in a M$ Windows Visual C++ 5.0 DLL for Borland Delphi 3,4,5", by Scott Wagner
2000.01.31 18:20 "Threadsafe MSVC implementation of LibTiff", by Bruce Cameron
2000.01.31 18:29 "Re: Threadsafe MSVC implementation of LibTiff", by Scott Wagner

2000.01.31 15:02 "Re: libtiff in a M$ Windows Visual C++ 5.0 DLL for Borland Delphi 3,4,5", by Frank Warmerdam

I expect htat a DLL will compile, but is the library as a DLL re-entrant? I need to work on TIFF files in two threads, on separate images [one will write the multipage image that has been built, and one work on the next multipage image].

Bruce,

I think it should be safe for more than one thread to use libtiff as long as they are accessing different files. This assumes that the underlying libc is thread safe of course. Does anyone know otherwise?

A DLL, and import library is available from:

ftp://ftp.remotesensing.org/pub/libtiff/libtiff_bin_354.zip

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turned up | Frank Warmerdam, warmerda@home.com
light and sound - activate the windows | http://members.home.com/warmerda
and watch the world go round - Rush    | Geospatial Programmer for Rent