simple file locking scheme
http://search.cpan.org/perldoc?LockFile::Simple
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.
-
Checkout Package
osc checkout openSUSE:Backports:SLE-15-SP5/perl-LockFile-Simple && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
LockFile-Simple-0.208.tar.gz | 0000013219 12.9 KB | |
perl-LockFile-Simple.changes | 0000001072 1.05 KB | |
perl-LockFile-Simple.spec | 0000002341 2.29 KB |
Latest Revision
Samu Voutilainen (Smar)
committed
(revision 1)
osc copypac from project:openSUSE.org:openSUSE:Backports:SLE-15-SP5 package:perl-LockFile-Simple revision:2
Comments 0