S
Stephen Corey
I'm writing an app that basically just appends text to a text file on a
Win2K Server. They fill out a form, click a button, and 1 line is
appended to the file. Multiple people will run this app at the same
time, and all will write to the same file. If I do an immediate flush()
on the file after writing the line, is there still a risk that 2
simultaneous writes will collide? If so, what's the best way to handle
this type of file write?
Thanks!
Win2K Server. They fill out a form, click a button, and 1 line is
appended to the file. Multiple people will run this app at the same
time, and all will write to the same file. If I do an immediate flush()
on the file after writing the line, is there still a risk that 2
simultaneous writes will collide? If so, what's the best way to handle
this type of file write?
Thanks!