File creation problem - cache?

Ian Collins ianc@kiwiplan.co.nz
Sun Jun 20 21:17:00 GMT 1999


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



More information about the Cygwin mailing list