20 #ifndef BEAST_CHRONO_BASIC_SECONDS_CLOCK_H_INCLUDED
21 #define BEAST_CHRONO_BASIC_SECONDS_CLOCK_H_INCLUDED
23 #include <date/date.h>
118 clock_type::time_point
const when(
161 template <
class Clock>
167 using rep =
typename Clock::rep;
172 static bool const is_steady = Clock::is_steady;
187 static initializer
init;
194 worker() : m_now(Clock::now())
215 m_now = Clock::now();
void basic_seconds_clock_main_hook()
Called before main exits to terminate the utility thread.
void add(seconds_clock_worker &w)
seconds_clock_worker & operator=(seconds_clock_worker const &)=delete
typename Clock::duration duration
A clock whose minimum resolution is one second.
void remove(seconds_clock_worker &w)
std::chrono::seconds seconds
typename Clock::period period
void init(ripemd160_context &ctx) noexcept
static seconds_clock_thread & instance()
seconds_clock_worker()=default
virtual ~seconds_clock_worker()=default
typename Clock::time_point time_point