<div dir="ltr">Hi,<div><br></div><div>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 that the subsequent code could run without the lock having been acquired.</div><div><br></div><div>This seems like strange behavior. Is there a reason for the different behavior on Windows and not-Windows? Am I missing something?</div><div><br></div><div>Thanks,<br clear="all"><div><br></div>-- <br><div dir="ltr" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div></div>