qt5base-lts/tests/auto/corelib
Volker Hilsheimer d671bab0e3 Win32: always allow the event loop to be woken up by posted events
We set the wakeUps atomic to prevent multiple WM_QT_SENDPOSTEDEVENTS from
being posted. However, this might happen right after the event processing
thread cleared the atomic, but before it processed the previous
WM_QT_SENDPOSTEDEVENTS message. In that case, we end up with a set
atomic  and an empty event queue, resulting in the event loop to block
even though there are posted QEvents.

To prevent that, always reset the atomic when we handle the
WM_QT_SENDPOSTEDEVENTS message. In that case, we either call
sendPostedEvents, or startPostedEventsTimer. The former already resets
wakeUps; reset it in the latter as well.

Fixes: QTBUG-99323
Pick-to: 6.2 6.3 5.15
Change-Id: I931c02be9c42b02e8ca20daba5059cd8185f0a37
Reviewed-by: Alex Trotsenko <alex1973tr@gmail.com>
2022-01-19 14:22:52 +01:00
..
animation tst_qanimationgroup: fix memleaks 2022-01-05 08:22:00 +01:00
global tst_qglobalstatic is halted on INTEGRITY device 2021-12-20 10:14:38 +02:00
io Remove unused .qrc files 2022-01-17 23:17:01 +01:00
itemmodels tst_QItemModel: fix memleaks 2022-01-05 08:22:00 +01:00
kernel Win32: always allow the event loop to be woken up by posted events 2022-01-19 14:22:52 +01:00
mimetypes Remove unused .qrc files 2022-01-17 23:17:01 +01:00
platform Android: Add runOnMainAndroidThread() under QNativeInterface 2021-05-26 23:24:11 +00:00
plugin Q*Parser: Replace "data" with "contents" in strings 2022-01-12 23:10:01 +01:00
serialization JSON: When clearing duplicate object entries, also clear containers 2022-01-18 02:31:30 +01:00
text QLatin1String: perform the comparison to another QL1S using memcmp() 2022-01-17 22:17:01 +00:00
thread tst_qfuture: fix compilation on MSVC 2022-01-08 01:54:18 +02:00
time Fix an assertion failure in massageAdjustedDateTime() 2022-01-13 19:47:22 +01:00
tools QVersionNumber: port fromString() to QAnyStringView 2022-01-18 01:31:33 +01:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00