Bastien Koert wrote:
lock it with www.php.net/flock
But you remain to be carefull, because flock is more like a semaphore
: it doesn't really lock the file. See man page for flock. (Maybe under
MS Windows the lock is hard).
--
Mickaƫl Wolff aka Lupus Michaelis
http://lupusmic.org
--
PHP G
On Wed, Aug 26, 2009 at 12:35 PM, Warren Vail wrote:
> I have two processes running on the same server, one is creating a file,
> loading it with data, and this process runs real slow.
>
>
>
> The second process processes a directory, finds the new file and begins
> reading the file contents.
>
>
>
I have two processes running on the same server, one is creating a file,
loading it with data, and this process runs real slow.
The second process processes a directory, finds the new file and begins
reading the file contents.
How do I make the reading process detect that the file is still
3 matches
Mail list logo