On Jan 25, 4:03*pm, Hans Vlems <hvl...@freenet.de> wrote:
> Problem description: the program modifies files and the filesystem is
> somewhat slow.
> More specifically, two subsequent calls on the rename function for one
> file fail because the filesystem is slowed down for reasons unknown.
> Waiting for one second is sufficient to avoid this effect.
Just to throw one possibility into the mix...
Windows apparently has a feature called "file tunneling", described
for example at
http://support.microsoft.com/default...en-us%3B172190
.. This means that if you do things to a file in quick succession the
results are not what you might expect.
I don't know if this is anything to do with what you are suffering,
but since you are getting odd results when you do things to a file in
quick succession, and don't when you don't, it seems worth mentioning.
I'm not at all an expert on it, but maybe other people here are.