QWaylandWindow: fix data race on mWaitingForUpdate
Caught by TSAN when running examples/quick/particles/system/.
deliverUpdateRequest() is called from the main thread (and doesn't lock)
and handleUpdate() is called from the render thread (and locks
mFrameSyncMutex).
I made the bool atomic (like others in this file), rather than
locking mFrameSyncMutex.
Pick-to: 6.9 6.8
Change-Id: Ic2f2eafc2d91cc9676dee5a7cd1872f91dff09e2
Reviewed-by: David Edmundson <davidedmundson@kde.org>
| commit | d73f6ad96431d36edb0335cbee318fd86e4ff84a |
| parent | 6a6d1353e72d3ddd1e4f9ec5553eb066bd9f9adc |
| author | David Faure <david.faure@kdab.com> |
| committer | David Faure <david.faure@kdab.com> |
| commit time | Thu, 13 Mar 2025 15:14:26 +0000 |