blob: 4670e774e5d0de535216ae32c8fcf7f3b4e1817e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
File::NFSLock - perl module to do NFS (or not) locking.
The module is based of concept of hard linking of files being atomic
across NFS. This concept was mentioned in Mail::Box::Locker (which was
originally presented in Mail::Folder::Maildir). Some routine flow is
taken from there -- particularly the idea of creating a random local
file, hard linking a common file to the local file, and then checking
the nlink status. Some ideologies were not complete (uncache mechanism,
shared locking) and some coding was even incorrect (wrong stat index).
File::NFSLock was written to be light, generic, and fast.
Authors: Paul T Seamons (paul@seamons.com), Rob B Brown (bbb@cpan.org)
WWW: http://search.cpan.org/dist/File-NFSLock/
|