I use flock to lock the file, so it should follow the semantics of
I don't really know what these semantics are, but I don't think deadlock
should be possible. However, depending on the implementation there is a
possibility of writer starvation, e.g. the exclusive lock is never granted
because there is always at least one client reading the file. I'm, not too
worried about that one though, it's nowhere near that heavily used.
Received on Tue Aug 31 07:45:41 2004