33 this->filename = std::move (
filename);
lockfile()
Definition lockfile.h:27
lockfile(std::string filename)
Definition lockfile.h:31
static bool lockfile_supported()
Definition lockfile.cc:129
int lock_write()
Definition lockfile.cc:29
bool locked()
Definition lockfile.h:66
int try_lock_write()
Definition lockfile.cc:54
std::string filename
Definition lockfile.h:74
lockfile(lockfile const &o)
Definition lockfile.h:35
void operator=(lockfile o)
Definition lockfile.h:38
void unlock()
Definition lockfile.cc:107
int fd
Definition lockfile.h:75
int lock_read()
Definition lockfile.cc:84