Flock() based locking. This is fairly efficient, but it will not work on NFS and is known to be unreliable on some operating systems including some flavors of the 2.4 Linux kernel.
Flock() based locking. This is fairly efficient, but it will not work on NFS and is known to be unreliable on some operating systems including some flavors of the 2.4 Linux kernel.