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>
commitd73f6ad96431d36edb0335cbee318fd86e4ff84a
parent6a6d1353e72d3ddd1e4f9ec5553eb066bd9f9adc
authorDavid Faure <david.faure@kdab.com>
committerDavid Faure <david.faure@kdab.com>
commit timeThu, 13 Mar 2025 15:14:26 +0000