[Development] Windows Timer Resolution: The Great Rule Change

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Thu Oct 8 09:04:00 CEST 2020


Il 08/10/20 02:34, Thiago Macieira ha scritto:
> 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 hope you meant *milli*seconds...

But anyhow, WaitForX allow for _early_ and late wakeups already, so 
asking for 2ms can result in anything between 0 and 15ms. See the links at

> https://codereview.qt-project.org/c/qt/qtbase/+/165479

HTH,

-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20201008/c14c041b/attachment-0001.bin>


More information about the Development mailing list