#include <tpl_paged_tree_durability.H>
◆ Pid_File_Lock() [1/3]
| Aleph::detail::Pid_File_Lock::Pid_File_Lock |
( |
| ) |
|
|
default |
◆ Pid_File_Lock() [2/3]
◆ Pid_File_Lock() [3/3]
◆ ~Pid_File_Lock()
| Aleph::detail::Pid_File_Lock::~Pid_File_Lock |
( |
| ) |
|
|
inlinenoexcept |
◆ acquire()
Definition at line 425 of file tpl_paged_tree_durability.H.
References acquired_, ah_runtime_error, ah_runtime_error_unless, Aleph::detail::current_process_id(), Aleph::divide_and_conquer_partition_dp(), Aleph::mode(), mode_, path_, register_path(), release(), Aleph::detail::remove_file_if_exists(), stale_lock(), and unregister_path().
Referenced by Aleph::Gen_File_B_Tree< Key, Compare, MinDegree, Codec >::Gen_File_B_Tree(), and Aleph::Gen_File_BPlus_Tree< Key, Compare, MinDegree, Codec >::Gen_File_BPlus_Tree().
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ register_path()
Definition at line 296 of file tpl_paged_tree_durability.H.
References ah_runtime_error, ah_runtime_error_unless, Aleph::divide_and_conquer_partition_dp(), Aleph::detail::Exclusive, Aleph::detail::Pid_File_Lock::Local_Lock_State::exclusive, Aleph::mode(), Aleph::detail::Pid_File_Lock::Local_Lock_State::path, registry(), registry_mutex(), Aleph::detail::Shared, and Aleph::detail::Pid_File_Lock::Local_Lock_State::shared_count.
Referenced by acquire().
◆ registry()
◆ registry_mutex()
| static std::mutex & Aleph::detail::Pid_File_Lock::registry_mutex |
( |
| ) |
|
|
inlinestaticprivate |
◆ release()
| void Aleph::detail::Pid_File_Lock::release |
( |
| ) |
|
|
inlinenoexcept |
◆ stale_lock()
| static bool Aleph::detail::Pid_File_Lock::stale_lock |
( |
const std::string & |
path | ) |
|
|
inlinestaticprivate |
◆ unregister_path()
|
|
inlinestaticprivatenoexcept |
◆ acquired_
| bool Aleph::detail::Pid_File_Lock::acquired_ = false |
|
private |
◆ mode_
◆ path_
| std::string Aleph::detail::Pid_File_Lock::path_ |
|
private |
The documentation for this class was generated from the following file: