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