18 #ifndef PSTORE_CORE_VACUUM_INTF_HPP 19 #define PSTORE_CORE_VACUUM_INTF_HPP 28 # define WIN32_LEAN_AND_MEAN 40 using pid_t = ::pid_t;
41 #endif // !defined (_WIN32) 44 static constexpr
auto not_running = pid_t{0};
45 static constexpr
auto starting =
static_cast<pid_t
> (-1);
49 std::atomic<pid_t> pid{0};
52 std::atomic<std::time_t> time{0};
61 #endif // PSTORE_CORE_VACUUM_INTF_HPP Definition: nonpod2.cpp:40
std::atomic< std::uint64_t > start_time
The time at which the process was started, in milliseconds since the epoch.
Definition: vacuum_intf.hpp:51
Definition: vacuum_intf.hpp:43
std::atomic< std::uint64_t > open_tick
A value which is periodically incremented whilst a pstore instance is open on the system...
Definition: vacuum_intf.hpp:57