freebsd-ports/devel/rubygem-lockfile/pkg-descr
Martin Wilke 0b85855ba1 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.

WWW:	http://www.codeforpeople.com/lib/ruby/lockfile/

PR:		ports/131023
Submitted by:	Dennis Herrmann <adox at mcx2.org>
2009-02-09 13:10:09 +00:00

8 lines
460 B
Text

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.
WWW: http://www.codeforpeople.com/lib/ruby/lockfile/