[Development] Timeout for QFuture::waitForFinished()

Thiago Macieira thiago.macieira at intel.com
Tue Jul 10 23:55:58 CEST 2018


On Tuesday, 10 July 2018 12:31:30 PDT Lorenz Haas wrote:
> So I wonder if there is any technical/intentional reason why there is
> no timeout parameter?

There may be. The problem with timed thread waits is that you need to wake up 
and release state at the same time the signaller is trying to use that 
content.

I'm not saying this is an actual issue here as I don't know the code. But 
there could be such an issue.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Development mailing list