type
LockFile
src
const class LockFile : Obj
LockFile is used to acquire an exclusive lock to prevent two different processes from using same files
constructors
make |
Construct with given file |
---|
fields
file |
Backing file we use to lock/acquire |
---|
methods
lock |
Acquire the lock or raise CannotAcquireLockFileErr |
---|---|
unlock |
Release the lock if we are holding one |