summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-09-23 13:51:17 +0200
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-10-05 13:03:49 +0200
commit0ed23e95fa756fd851f509a565f91ab43fc30449 (patch)
tree9c4f8dd088587ed2aab8708ac52b37f3ba89cab4 /dist
parent0573653f830fada99311c88ab46e8f5a37854b90 (diff)
Fix regressions in qeventloop, qtimer, and qsocketnotifier autotests
Commit ed375675d4a4f6fd63edeb242e23c87b3de4be6f triggers a behavior in Glib's mainloop implementation where some event sources are not "serviced" every iteration of the mainloop context. This breaks an invariant that many tests relied on, so we need to solve the problem. The invariant is that a newly added timer that would normally fire on the next pass of the event loop (liker a zero timer) SHOULD actually fire. We do this by registering 2 timer event sources with Glib's mainloop: one normal priority source and one idle priority source. The idle priority source is the one that will send events most of the time, with the normal priority one taking over only when processEvents() is called manually. Task-number: QT-877 Reviewed-by: jbache Reviewed-by: thiago Reviewed-by: denis (cherry picked from commit d0d0fdb8e46351b4ab8492de31e5363ef6662b57)
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions