eckit::FileLock class

Constructors, destructors, conversion operators

FileLock(const PathName& lockFile, bool unlink_at_destruction = false) explicit
FileLock(const FileLock&) deleted
FileLock(FileLock&&) deleted
~FileLock()

Public functions

auto operator=(const FileLock&) -> FileLock& deleted
auto operator=(FileLock&&) -> FileLock& deleted
void lock()
void unlock()

Function documentation

eckit::FileLock::FileLock(const PathName& lockFile, bool unlink_at_destruction = false) explicit

Constructor creates the lock file if needed