Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.0
-
None
-
-
f94e72d3d (dev), 30d3f8ceb (15.0)
Description
Proposed in https://lists.qt-project.org/pipermail/development/2023-May/043971.html thread.
Ordering timers' timeouts is an orthogonal feature to the coarse timers.
The fixed implementation of the ordered timeouts inside QtCreator starts here: https://github.com/qt-creator/qt-creator/blob/d56ce22baeebb8ddf79d0c2d04fcf2cc8733defa/src/libs/solutions/tasking/tasktree.cpp#L3135. Each thread orders its timers separately.
The ordered timeouts might be useful for other Qt users, too.
Attachments
Issue Links
- relates to
-
QTBUG-114154 QTimer: Timers below 2 seconds aren't Precise
-
- Closed
-
-
QTBUG-124496 QObject::timerEvent may be called before the timer elapsed
-
- Closed
-
-
QTBUG-114155 QTimer: Document whether Qt user may rely on timers' timeouts being ordered or not
-
- Reported
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-114152 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
480705,5 | tst_QTimer: ensure that timer activation respects start order | dev | qt/qtbase | Status: MERGED | +2 | 0 |
602336,4 | TaskTree: Fix withCancel test flakiness | 15.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |