[Solved] QFile ReadOnly is thread safe?
Solved
General and Desktop
-
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
-
Hi,
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.
-
Thank you very much
1/3