in reply to Re: Flocking
in thread Flocking
This is all in the perlfunc manpage, though the 5.6 docs are clearer...
Two potentially non-obvious but traditional flock semantics are that it waits indefinitely until the lock is granted, and that its locks merely advisory. Such discretionary locks are more flexible, but offer fewer guarantees. This means that files locked with flock may be modified by programs that do not also use flock.
|
|---|