On 19/11/2013 09:00, Jaroslav Bachorik wrote:
It's probably overkill here. The more usual "protocol" is to create the file with a different name and then rename it to the expected file.I think it is. Writing to a file does not guarantee that it's creation and actual write are atomic :(What I used to do was to write the data to one file and the use a second signaling file to notify the other party that the data has been successfully written and can be read.
-Alan