This patch reworks "Fix cache maybe invalid while the signal is actived from queue" (80f44954f6872afb5aa37e6737c3e1ac68ad3577) and associates a mutex with the QWindowsUiaProviderCache tables instead of with the QWindowsUiaMainProvider reference counting. This makes it easier to switch to using COM smart pointers to manage QWindowsUiaMainProvider lifetime, where AddRef/Release may be called as part of copying smart pointer instances. It is unclear if the QWindowsUiaProviderCache tables can be concurrently accessed, still this patch maintains a mutex to protect them. Task-number: QTBUG-106653 Task-number: QTBUG-126530 Change-Id: I2fc3ba6b6666412ebc86461ebc8f008e1fd6a165 Reviewed-by: Pavel Dubsky <pavel.dubsky@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> (cherry picked from commit caa560931929d544ab816de09ba5f23912585ade) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%