Class
TapKit::FileLock
In:
lib/tapkit/access/adapters/csv.rb
Parent:
Object
Methods
exclusive_lock
filelock
shared_lock
Constants
FLOCK
=
'flock'
ATOMIC
=
'atomic'
Public Class methods
exclusive_lock
( filename, mode = 'w' ) {|io| ...}
Creates a exclusive file lock on a file.
filelock
( method = FLOCK )
shared_lock
( filename, mode = 'r' ) {|io| ...}
Creates a shared file lock on a file.
[Validate]