In the Mapnik library we open a GDALDataset per thread, for each feature query, 
but have been seeing crashes when rendering large geotiffs.

I've assumed that GDALDataset was fairly threadsafe in recent revisions as per 
(http://trac.osgeo.org/gdal/wiki/FAQMiscellaneous#IstheGDALlibrarythread-safe), 
but recently learned that you must force --with-threads during configure to get 
this working.

Once I rebuilt gdal --with-threads all my troubles went away.

Are there caveats or other reasons not to pass --with-threads during the 
configure stage. E.g. should is not be made default some time in the future?

Thanks,

Dane

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to