Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::platform_timer::impl Struct Reference

Static Public Member Functions

static void sig_handler (int, siginfo_t *si, void *)
 

Public Attributes

std::unique_ptr< boost::asio::high_resolution_timer > timer
 
uint64_t timerid
 
timer_t timerid
 

Static Public Attributes

static constexpr uint64_t quit_event_id = 1
 

Detailed Description

Definition at line 17 of file platform_timer_posix.cpp.

Member Function Documentation

◆ sig_handler()

static void sysio::chain::platform_timer::impl::sig_handler ( int ,
siginfo_t * si,
void *  )
inlinestatic

Definition at line 20 of file platform_timer_posix.cpp.

20 {
21 platform_timer* self = (platform_timer*)si->si_value.sival_ptr;
22 self->expired = 1;
23 self->call_expiration_callback();
24 }
static const Reg16 si(Operand::SI)
@ self
the connection is to itself
Definition protocol.hpp:48

Member Data Documentation

◆ quit_event_id

uint64_t sysio::chain::platform_timer::impl::quit_event_id = 1
staticconstexpr

Definition at line 26 of file platform_timer_macos.cpp.

◆ timer

std::unique_ptr<boost::asio::high_resolution_timer> sysio::chain::platform_timer::impl::timer

Definition at line 21 of file platform_timer_asio_fallback.cpp.

◆ timerid [1/2]

uint64_t sysio::chain::platform_timer::impl::timerid

Definition at line 24 of file platform_timer_macos.cpp.

◆ timerid [2/2]

timer_t sysio::chain::platform_timer::impl::timerid

Definition at line 18 of file platform_timer_posix.cpp.


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