|
Botan 3.14.1
Crypto and TLS for C&
|
#include <os_utils.h>
Public Member Functions | |
| bool | fork_detected () const |
| Fork_Detector () | |
| void | rebaseline () |
Detects if the address space of this process may have been duplicated, for example by fork(), since this object was created or last rebaselined.
Definition at line 109 of file os_utils.h.
| Botan::OS::Fork_Detector::Fork_Detector | ( | ) |
Record the state of the current process
Definition at line 714 of file os_utils.cpp.
References Botan::OS::get_fork_generation(), and Botan::OS::get_process_id().
Referenced by rebaseline().
| bool Botan::OS::Fork_Detector::fork_detected | ( | ) | const |
Definition at line 720 of file os_utils.cpp.
References Botan::OS::get_fork_generation(), and Botan::OS::get_process_id().
| void Botan::OS::Fork_Detector::rebaseline | ( | ) |
Discard the recorded state and record the state of the current process
Definition at line 716 of file os_utils.cpp.
References Fork_Detector().