delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/21/00:18:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <AC4D3D80B239D211BC140000F879A2BA0AEDA7@NTMAIL>
From: Ian Collins <ianc AT kiwiplan DOT co DOT nz>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: File creation problem - cache?
Date: Mon, 21 Jun 1999 16:19:55 +1200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019