qt5base-lts/tests/auto/corelib
Mate Barany 84f0596c0c Avoid potential data races caused by qt_ntfs_permission_lookup
qt_ntfs_permission_lookup is a global, non-atomic variable which
could cause problems in case of multiple threads. Introduce a
new atomic variable to handle permission lookups but instead of
manual incrementation/decrementation, implement a class to manage
the variable.

Since the atomic variable is not directly available to the user,
implement helper functions to increase/decrease/check the status
of the variable.

Task-number: QTBUG-105804
Change-Id: If6cbcdd653c7f50ad9853a5c309e24fdeb520788
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2023-02-08 12:59:19 +01:00
..
animation Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
global QTypeInfo: remove further usages of isPointer / isIntegral 2022-12-30 01:51:27 +01:00
io Avoid potential data races caused by qt_ntfs_permission_lookup 2023-02-08 12:59:19 +01:00
ipc IPC: switch the default key type on Unix to POSIX realtime 2023-01-22 13:02:11 -03:00
itemmodels Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
kernel Fix proxy-data handling 2023-02-07 22:27:37 +01:00
mimetypes QMimeDatabase: add a test to ensure we can detect Unix specials 2023-02-02 12:17:25 -08:00
platform CMake: Remove direct qt_android_generate_deployment_settings call 2022-12-15 20:23:28 +01:00
plugin QUuid: add the ability to specify the byte order for 128-bit IDs 2022-12-16 19:29:10 +01:00
serialization QXmlStreamWriter: fix a thinko in doWriteToDevice(QSV) 2022-12-16 22:58:11 +01:00
text Update CLDR to v42 2023-02-07 19:04:11 +01:00
thread QPromise: improve documentation snippet 2023-01-09 10:03:48 +01:00
time Move qtLocalTime() to qtenvironmentvariables.cpp as qLocalTime() 2023-02-03 14:45:31 +01:00
tools QVarLengthArray: fix off-by-size() bug in growBy() 2023-01-20 14:48:20 +01:00
CMakeLists.txt IPC: Move QSharedMemory and QSystemSemaphore from kernel/ to ipc/ 2023-01-22 13:01:53 -03:00