Basicly there are three methods:
flock() (on some versions of *nix)
lockf() (on other versions, like HP-UX)
ioctl() (on yet other versions),
So we need to find what versions are supported. Some implementations
can only lock a whole file, some can lock parts of a file.
Geoff Hutchison wrote:
* File/Database locking. PR#405764.
Can you tell me a little more about this - I had started
working on a generalized file locking mechanism as part
of my Adjustable Logging patch, implemented using a
"factory" method to create objects to an interface
I don't know about a "factory" method.
But