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> |
||
|---|---|---|
| .. | ||
| resources | ||
| stdinprocess | ||
| .gitattributes | ||
| .gitignore | ||
| CMakeLists.txt | ||
| copy-fallback.qrc | ||
| dosfile.txt | ||
| forCopying.txt | ||
| forRenaming.txt | ||
| noendofline.txt | ||
| rename-fallback.qrc | ||
| testfile.txt | ||
| testlog.txt | ||
| tst_qfile.cpp | ||
| two.dots.file | ||