blob: 77a64282361f3d88720a90240c84857c10eb257f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
This is a Ruby module which provides file locking mechanism.
The module FileLock implements two classes: LockFile and LockedFile;
the class LockFile deals with so-called lockfiles, and the class
LockedFile offer a high-level interface to deal with both regular
files and lockfiles at the same time.
To be portable, a small C extension is used to minimize the time
between existence check of a lockfile and its creation.
Author: Clemens Hintze <c.hintze@gmx.net>
|