[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: flock, fcntl, lockf?



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


Reply to: