This commit is contained in:
parent
6b18a72b95
commit
5dc3a0239f
@ -51,8 +51,6 @@ private:
|
||||
[[nodiscard]] auto get_lock_file() -> std::string;
|
||||
|
||||
private:
|
||||
void release();
|
||||
|
||||
[[nodiscard]] static auto wait_for_lock(int fd,
|
||||
std::uint8_t retry_count = 30u)
|
||||
-> int;
|
||||
@ -62,6 +60,8 @@ public:
|
||||
|
||||
[[nodiscard]] auto grab_lock(std::uint8_t retry_count = 30u) -> lock_result;
|
||||
|
||||
void release();
|
||||
|
||||
[[nodiscard]] auto set_mount_state(bool active,
|
||||
const std::string &mount_location, int pid)
|
||||
-> bool;
|
||||
|
Loading…
x
Reference in New Issue
Block a user