SPH
|
Locks a file. More...
#include <FileSystem.h>
Public Member Functions | |
FileLock (const Path &path) | |
void | lock () |
void | unlock () |
Locks a file.
Satisfies requirements of Lockable type, so it can be used with std::unique_lock, for example.
Definition at line 189 of file FileSystem.h.
|
explicit |
Definition at line 350 of file FileSystem.cpp.
void FileSystem::FileLock::lock | ( | ) |
Definition at line 355 of file FileSystem.cpp.
void FileSystem::FileLock::unlock | ( | ) |
Definition at line 359 of file FileSystem.cpp.