fp file locking behavior

Kenneth Brody kenbrody at bestweb.net
Wed May 23 06:40:50 PDT 2007


Quoting Bob Haussmann (Wed, 23 May 2007 07:36:23 -0400):
[...]
> The question remains, why would fP need to issue a lock for writing
> the index when one is only browsing?
[...]

And what would happen if, while the "I'm only browsing" dclerk were
traversing the index to find a record, a different process were to
come along and insert/delete a record in the index?

Now, the locking is set up such that multiple "just looking" processes
can access the file simultaneously, but an "I'm modifying the index"
process has exclusive access during the update.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list