Function FileBasedLock.this
Creates a FileBasedLock object
this
(
string file_name,
string file_dir = tempDir(),
bool create_dir = false
);
Parameters
Name | Description |
---|---|
file_name | name of the lock file |
file_dir | the directory where the lock file has to be created |
create_dir | true, if the directory holding the lock file needs to be created |
Returns
Returns FileBasedLock
object