Tomas,
You could use something like a lock file maybe. The program which wants to read would first check for the presence of the lock file in the directory...if it exists it can wait a short while and then retry, this could be done in a loop so that it keeps re-trying to see if the lock file has been deleted by the writing program. The writing program would write the lock file first, then delete it when it had finished updating the file.
A bit of a work-around I known, but it would solve the problem, although how practical it is would of course depend on how oftent the file is being edited and how long those writes take to complete. It would work best where the file writes are sporadic and quick