08.10.2020, 11:46, "Philippe" <philw...@gmail.com>:
> On Wed, 7 Oct 2020 17:34:43 -0700
> Thiago Macieira <thiago.macie...@intel.com> wrote:
>
>>  Now, the question is how WaitFor{SingleObject,MultipleObjects} are affected.
>>  Does this mean that asking for a timeout of 2 milliseconds could result in
>>  being 13 seconds too late?
>
> I just did a test, and yes, both WaitForSingleObject and
> WaitForMultipleObjects wait at least 15 milliseconds when the events are not
> signaled :(

Is resolution of QElapsedTimer limited to 15 ms as well? If it's more find 
grained
you can try busy-waiting until required time elapses.


-- 
Regards,
Konstantin
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to