It should be used to extend the QTimer API. Where the system doesn't support this kind of timer, then the in process solution as in Thiago's blog should be used.
Should there be a preferred interval? For some use cases, the timer is allowed to be late but not early (e.g. supervisory timeouts) in which case preferred == minimum Whereas for other use cases, the timer is allowed to be late or early Out of interest, which platforms support this kind of timer? (other than symbian which isn't supported by Qt5) Finally, when this functionality is in QtCore, then the QSystemInfo API should be replaced with a shim over the QtCore implementation. I.E. implement a backend that uses the QTimer API and remove any OS specific backends, and mark the API as deprecated. > -----Original Message----- > From: [email protected] > [mailto:[email protected]] > On Behalf Of [email protected] > Sent: Monday, November 21, 2011 10:06 > To: [email protected] > Subject: [Development] RFC: QSystemAlignedTimer to QtCore > > Hi, > > In QtMobility SystemInfo, we have a QSystemAlignedTimer: > http://doc.qt.nokia.com/qtmobility-latest/qsystemalignedtimer.html > > In short, it's a system-wide fuzzy timer, providing a service for > applications to synchronize their activity. > > Now I'm thinking of move it to QtCore, and preferably merge it into > QTimer. If so, we probably need to add some interface to specify the > precision, other than simply tell the type as in [1]. > Any thoughts? > > > [1] http://codereview.qt-project.org/#change,657 > > ================ > Xizhi Zhu (Steven) > > Software Engineer @ Qt Development Frameworks > Nokia > > Mobile: +358 (0)50 480 1247 > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development ________________________________ Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy. ______________________________________________________________________________________ www.accenture.com _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
