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 the item hasn't changed in any substantial way since the previous discussion of locking (which looks like Sep-2002).

http://sourceforge.net/mailarchive/message.php?msg_id=2014435

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/
--Jesse




-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to