This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
File creation problem - cache?
- To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
- Subject: File creation problem - cache?
- From: Ian Collins <ianc@kiwiplan.co.nz>
- Date: Mon, 21 Jun 1999 16:19:55 +1200
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