pstore2
Public Attributes | Static Public Attributes | List of all members
pstore::shared Struct Reference

Public Attributes

std::atomic< pid_t > pid {0}
 
std::atomic< std::uint64_t > start_time {0}
 The time at which the process was started, in milliseconds since the epoch.
 
std::atomic< std::time_t > time {0}
 
std::atomic< std::uint64_t > open_tick
 A value which is periodically incremented whilst a pstore instance is open on the system. More...
 

Static Public Attributes

static constexpr auto not_running = pid_t{0}
 
static constexpr auto starting = static_cast<pid_t> (-1)
 

Member Data Documentation

◆ open_tick

std::atomic<std::uint64_t> pstore::shared::open_tick

A value which is periodically incremented whilst a pstore instance is open on the system.

This can be used to detect that the pstore is in use by another process.


The documentation for this struct was generated from the following files: