FileLockTable() |
void | Done() static |
void | Init() static |
FileLockTable& | Instance() static |
void | LockFile(const std::string& filePath, LockKind lockKind) |
bool | NoReaders(const std::string& filePath) |
bool | NoWriters(const std::string& filePath) |
void | UnlockFile(const std::string& filePath, LockKind lockKind) |
std::unique_ptr<FileLockTable> | instance static |
std::mutex | mtx |
std::map<std::string, int> | readMap |
std::condition_variable | releaseRead |
std::condition_variable | releaseWrite |
bool | waitingReadLock |
bool | waitingWriteLock |
std::set<std::string> | writeLocks |