PDA

View Full Version : QtThread IO debug question



zl2k
25th September 2008, 20:10
hi, there
I am using qtthread and in each thread the program will read and write from/to different files. My question is: will there be trouble if two thread write to the disk (although different file) at the same time? The reason I am asking is that my program is unstable that it will crash after a while, but when did it crash looks random even I am repeating the same operation. The error message is IO related. Thanks for your comments.
zl2k

yuriry
25th September 2008, 23:16
If threads work with different files I believe there should not be any concurrency-related problems. What's the error message?