Posted by alexandis on 11/14/07 14:08
Flock doesn't fit me. Flock is used to make lock FROM WITHIN php
script.
And in my case I have external binaries, that create some output
files, writing them piece by piece.
And what i need to do is to CHECK if some file in filesystem is being
written in the moment or not.
The only approach i can see is to check modification date of the file
and if file has not been modified quite a while - suppose that it's
already done. But this approach is not reliable... :(
Navigation:
[Reply to this message]
|