diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-12-17 09:20:46 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-12-17 09:20:46 (GMT) |
commit | bc01bb10da23d0d2308cf02a16947be836bc9a21 (patch) | |
tree | d57fe1ac55f21cf5c426e31659d2aca5c895f363 /examples/multimedia | |
parent | 11ec7b3694feed8514f9559c7b732ad6217e88c6 (diff) | |
download | Qt-bc01bb10da23d0d2308cf02a16947be836bc9a21.zip Qt-bc01bb10da23d0d2308cf02a16947be836bc9a21.tar.gz Qt-bc01bb10da23d0d2308cf02a16947be836bc9a21.tar.bz2 |
Avoid timer starvation when handling many X11 events
After commit d0d0fdb8e46351b4ab8492de31e5363ef6662b57, timers are
normally run at idle priority. This makes it possible for the X11
handler to starve timers indefinitely. Fix this by enforcing one
normal priority pass of the timer source after we have processed all
X11 events.
This has the added benefit of keeping animation timers smooth and
consistent, which is the intention of this change.
Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'examples/multimedia')
0 files changed, 0 insertions, 0 deletions