Re: [gdal-dev] Mutexes

2021-05-03 Thread Even Rouault
Andrew, I don't see myself much value to the mutexes with timeout, at least in how they are used within GDAL. What you underline was actually reported in https://github.com/OSGeo/gdal/issues/3631. The fix would be to use a non-timeout mutex Even Le 03/05/2021 à 17:23, Andrew Bell a écrit :

[gdal-dev] Mutexes

2021-05-03 Thread Andrew Bell
Hi, I'm looking at code in gdalwarpkernel.cpp and there are calls to CPLAcquireMutex that take a "timeout" argument. From looking at cpl_multiproc, on a non-windows system it seems the timeout is ignored, but on WIN32 it is respected in the call, but the return value is generally ignored, meaning