Hi,
I have an application that creates and writes to an output file I need
to process. I need to process the file when it is completely written
to. I do not initially know how big the file will be in the end.
Further, the application does NOT put a write lock on the file while
it is writing it.
On 7/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
snip
What's the most efficient way of checking this? - one way is perhaps
inifinite loop checking mmtime until it is stable for a certain amount
of time?? I am not sure.
snip
Yep, that is about it. I usually use size rather than mtime
On 7/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I have an application that creates and writes to an output file I need
to process. I need to process the file when it is completely written
to. I do not initially know how big the file will be in the end.
Further, the application does NOT
On 7/4/07, Chas Owens [EMAIL PROTECTED] wrote:
On 7/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
snip
What's the most efficient way of checking this? - one way is perhaps
inifinite loop checking mmtime until it is stable for a certain amount
of time?? I am not sure.
snip
Yep, that is