If there are multiple processes writing to the same settings file at once (maybe multiple instances of a program are exiting simultaneously due to a system shutdown or something), does Qt internally do some kind of locking to make sure there is no corruption of the file?
If so, is there any risk of a the lock being left behind in case the process dies in the middle of writing the file?
If not, is there any recommended way to do file locking within Qt? I tried looking for a class which would do this, but without success. But I easily could have missed it, there are so many classes to learn.
Thanks!
Bookmarks