diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-12-10 08:15:34 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-12-10 08:18:51 (GMT) |
commit | 9215506e6a057d8aef7415c2921214e1ba1c760d (patch) | |
tree | f21dc39dd99eb253fe345874b360424e4d179dc8 /src/gui/kernel | |
parent | bc8e87016cfeb4a63151425bcd0f69f21a5fc1c1 (diff) | |
download | Qt-9215506e6a057d8aef7415c2921214e1ba1c760d.zip Qt-9215506e6a057d8aef7415c2921214e1ba1c760d.tar.gz Qt-9215506e6a057d8aef7415c2921214e1ba1c760d.tar.bz2 |
Prevent posted event starvation by native Windows messages
Avoid live-lock if native messages are generated quickly enough by
allowing posted events to be sent if more than 10ms has passed since
we last sent them. This means that we can allow multiple calls to
sendPostedEvents() during a single call to processEvents(), but only
when the QEventLoop::EventLoopExec flag is passed to processEvents().
Task-number: QTBUG-1697
Diffstat (limited to 'src/gui/kernel')
0 files changed, 0 insertions, 0 deletions