[gdal-dev] GDALDataset blocks in different thread

James Meyer jamesm at lantic.net
Thu Sep 16 04:23:27 EDT 2010


Hi

I am opening a GDALDataset in my main thread which I then pass to a 
second thread for processing. Only the second thread accesses the dataset.

As soon as the thread makes a call to GDALRasterBand::RasterIO() the 
thread blocks indefinitely.

Could you please explain to me why this is happening?

Also, how do I check whether my build of GDAL was built with the 
--with-threads option enabled?

Thanks

James


More information about the gdal-dev mailing list