The `flufl.lock` library provides an NFS-safe file-based locking algorithm influenced by the GNU/Linux `open(2)` manpage, under the description of the `O_EXCL` option.