[Proj] PROJ.4 and OpenMP
even.rouault at spatialys.com
Thu Jul 2 14:03:07 EST 2015
Le jeudi 02 juillet 2015 20:07:49, support at mnspoint.com a écrit :
> Hello Jose,
> if I remember correctly all what Frank W. did was that he added a single
> line containing a mutex object to the source code .. that was all.
> might want to run a file comparsion for the first "multithreaded" proj.4
> and the version before it .. but just a single line was added I assume?!
> So most likely what you should do is to use that mutex object .. there
> should be lot of examples about how to use a mutex objects in the
Sorry but I must correct your above statement, since that's just
misinformation and rather offending regarding FrankW's efforts in that area.
The changes in proj to make it thread-safe involved touching a lot of files,
not just one. Just look at the first commit to add thread-safety :
And there have been several afterwards.
If you use the "new" proj API that accept a projCtx argument, no need for a
Spatialys - Geospatial professional services
More information about the Proj