|
| WriteLock (const File &file, long long start=0, long long length=0, Seek whence=Seek::Begin) |
| Create an exclusive file lock for a file area.
|
|
| WriteLock (const File &file, long long start=0, Seek whence=Seek::Begin) |
| Create an exclusive file lock for a file area.
|
|
| FileLock (const File &file, FileContention type, long long start=0, long long length=0, Seek whence=Seek::Begin) |
| Create an advisory file lock for a file area.
|
|
| FileLock (const File &file, FileContention type, long long start, Seek whence=Seek::Begin) |
| Create an advisory file lock for a file area.
|
|
bool | tryAcquire () |
| Try to acquire the file lock.
|
|
void | acquire () |
| Wait and acquire lock.
|
|
void | release () |
| Release lock.
|
|
Advisory file lock for exclusive access.