Output Processing Running
John Esak
john at valar.com
Thu Apr 29 21:49:57 PDT 2004
> -----Original Message-----
> From: Robert Haussmann [mailto:haussma at nextdimension.net]
> Sent: Thursday, April 29, 2004 10:28 PM
> To: 'John Esak'
> Cc: filepro-list at seaslug.org
> Subject: RE: Output Processing Running
>
>
> > You could use the file I/O functions to open the lockfile of
> > a designated
> > file and see which bits are set. There is a specific one
> > which is thrown if
> > output processing is running against that file. The layout of
> > the lockfile
> > is described on the FP Tech website.
> >
>
> I've always wondered about such a technique. If you do this,
> don't you run the risk of having fP blow up because the
> LOCKFILE itself is locked? (more likely to happen if the
> files are used by a large number of processes).
>
> Bob Haussmann
> Tabor Children's Services, Inc.
Bob,
I certainly wouldn't run the risk of opening the file in "write" mode... I
would only OPEN() it in "read" mode. This would not lock it in any way, or
hinder any use of that file by filePro.
John
More information about the Filepro-list
mailing list