Output Processing Running

Robert Haussmann haussma at nextdimension.net
Fri Apr 30 06:53:54 PDT 2004


> [...Using file I/O to read the lockfile ...]
> > 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).
> 
> The lockfile is only locked while being updated, which only takes
> a fraction of a second.  If it happened to be locked when you tried
> to read it, one of two things would happen (depending on platform).
> Either it would wait that fraction of a second and then read it, or
> it would return an error that the file was locked.
> 

Very good to know, thank you!  Which platform(s) would return an error
that the file was locked?  

Bob



More information about the Filepro-list mailing list