This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

File creation problem - cache?


Am I going mad, or does this sound familiar to anyone?

We have a process that,

1.1. Creates a file
1.2. Populates the file 
1.3. Closes the file
1.4, Forks a new process (with the filename created above as an argument).

The child process,

2.1. Looks for a file specified as an argument.
2.2. If found, reads and processes the file

We are seeing, time and again, that the child does not find the specified
filename.
However, by putting a delay between 1.4 and 2.1, the problem disappears.

Is there a caching problem?
Can anyone suggest a reliable work around?

(Or am I just going mad).

Ian Collins.




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]