On 01/14/2008 09:34 AM, Hendrik Boom wrote:
What's the right way these days to lock a file (or possibly a part of a
file) to prevent damage from simultaneous writing?

I suppose the answer could be, "depends on what you want to do.." I think that flock() does not work on NFS mounts, if that is any consideration.

--
Kind Regards,
Michael Shuler


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to