FreeBSD.software
Home/devel/rubygem-lockfile

rubygem-lockfile

2.1.3devel

Ruby library for creating NFS safe lockfiles

rlock creates NFS safe lockfiles. it can optionally run a program while holding the lock, ensuring lockfile removal on program exit. if a program is specified to be run rlock will spawn a background thread to kept the lockfile 'fresh' by touching it at a regular interval. in this way a lease is maintained on the lockfile and other processes attempting to obtain the lock can determine that it is in use.

$pkg install rubygem-lockfile
github.com/ahoward/lockfile
Origin
devel/rubygem-lockfile
Size
67.7KiB
License
RUBY
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
0 packages

Dependencies (2)