simple file locking scheme
This simple locking scheme is not based on any file locking system calls
such as 'flock()' or 'lockf()' but rather relies on basic file system
primitives and properties, such as the atomicity of the 'write()' system
call. It is not meant to be exempt from all race conditions, especially
over NFS. The algorithm used is described below in the *ALGORITHM* section.
It is possible to customize the locking operations to attempt locking once
every 5 seconds for 30 times, or delete stale locks (files that are deemed
too ancient) before attempting the locking.
- Sources inherited from project openSUSE:12.2
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:lafenghu/perl-LockFile-Simple && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
LockFile-Simple-0.207.tar.gz | 0000012753 12.5 KB | |
perl-LockFile-Simple.changes | 0000000891 891 Bytes | |
perl-LockFile-Simple.spec | 0000002184 2.13 KB |
Latest Revision
Adrian Schröter (adrianSuSE)
committed
(revision 1)
branched from openSUSE:Factory
Comments 0