Christophe,
CPL_MULTIPROC_WIN32 is automatically set on Windows by
https://github.com/OSGeo/gdal/blob/104e1747748d204e8aff1945464a24b1f8c94c90/port/cpl_multiproc.h#L43
Even
Le 04/07/2022 à 11:57, DELEPINE Christophe a écrit :
Hi Even
I have looked at cpl_multiproc.cpp implementation and I believe that I
cannot use multithreading for the mbtiles conversion (even if I define
GDAL_NUM_THREADS)
The compilation of cpl_multiproc.cpp depends on several compilation
flags :
·CPL_MULTIPROC_STUB
·CPL_MULTIPROC_WIN32
·CPL_MULTIPROC_PTHREAD
·CPL_MULTIPROC_NONE
If none of them is defined, then CPL_MULTIPROC_STUB is defined
automatically which means that multithreading is disabled (thread
creation does not work).
I am using windows binaries of gdal I get from this site :
GISInternals Support Site <https://www.gisinternals.com/release.php>
It seems that none of these symbols have been defined for this build
process
I guess I would have to recompile gdal in order to enable multithreading…
Regards
Christophe
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev