Output Processing Running
Kenneth Brody
kenbrody at bestweb.net
Sat May 1 05:24:12 PDT 2004
Robert Haussmann wrote:
[...]
> > 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?
I believe that Windows would return an error 33, and that most *nix
platforms will wait the fraction of a second. (Some *nix platforms
which use "advisory locking" may even let it be read even if locked.)
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody at spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
More information about the Filepro-list
mailing list