On 10 November 2017 at 08:24, Even Rouault <[email protected]> wrote:

> Digging further this code comes from the dev branch of qt5:
> https://github.com/qt/qtbase/blob/dev/src/corelib/thread/qsemaphore.cpp#L414
>
> Released branches use a different logic:
> https://github.com/qt/qtbase/blob/5.10/src/corelib/thread/qsemaphore.cpp#L217
>
> Are you running bleeding edge Qt ?

No - this was just the osgeo4w dev release, so using 5.9.1.

Still, maybe it's safest if we just don't use tryAcquire for negative
timeouts, and instead use acquire explicitly in this case...

Nyall
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to