Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] QFile ReadOnly is thread safe?
VRonin last edited by VRonin
Is accessing a file using QFile opened with ReadOnly flag, seeking it and use a QDataStream to read it from multiple threads safe?
The file will be the same but using multiple instances of QFile to read it
If each thread has its own instance of QFile opened read-only and also its own QDataStream and does the processing itself, then no, there's no particular problem.
VRonin last edited by
Thank you very much