diff options
| author | Jøger Hansegård <joger.hansegard@qt.io> | 2024-06-30 17:12:17 +0200 |
|---|---|---|
| committer | Jøger Hansegård <joger.hansegard@qt.io> | 2024-07-01 17:48:46 +0200 |
| commit | caa560931929d544ab816de09ba5f23912585ade (patch) | |
| tree | 1c4a8e2c33f5dd7b6be2c7c498de37303d2b9460 /src/corelib/io/qfile.cpp | |
| parent | e40fdf19abd4fe6d8f3a31088671bfc1c4aa03cc (diff) | |
Avoid holding static mutex in QWindowsUiaMainProvider::Release
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
Pick-to: 6.8
Change-Id: I2fc3ba6b6666412ebc86461ebc8f008e1fd6a165
Reviewed-by: Pavel Dubsky <pavel.dubsky@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib/io/qfile.cpp')
0 files changed, 0 insertions, 0 deletions
