[gdal-dev] OGRCoordinateTransformation Thread Safety
Even Rouault
even.rouault at spatialys.com
Thu Nov 7 01:48:09 PST 2019
On mercredi 6 novembre 2019 14:51:28 CET Bryant wrote:
> Further, manual tests suggest that it is in GDAL 2.4.3 -- 20 threads
> performing transformations on the same OGRCoordinateTransformation instance
> and ensuring that the result is within 1e-4 of the correct result.
As most C/C++ libraries, an object is not thread-safe unless it is explicitly
mentioned it is. This holds for OGRCoordinateTransformation. In GDAL 2.4 with
PROJ 5.x, you might not notice severe issues in practice (beyond the PROJ
error state being accessed concurrently). With PROJ 6, you'd likely get
crashes.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list