The Sequence Toolkit
www.sequence-toolkit.com |
Go to the source code of this file.
Classes | |
struct | stk_smartbeat_stct |
struct | stk_smartbeat_svc_wire_stct |
Macros | |
#define | STK_SMARTBEAT_SEQ 0x3000000 |
#define | STK_STCT_SVC_SMARTBEAT_WIRE 0x50000001 |
Typedefs | |
typedef stk_uint64 | stk_checkpoint_t |
typedef struct stk_smartbeat_stct | stk_smartbeat_t |
typedef struct stk_smartbeat_ctrl_stct | stk_smartbeat_ctrl_t |
typedef struct stk_smartbeat_svc_wire_stct | stk_smartbeat_svc_wire_t |
This file provides definitions and typdefs etc required for smartbeats
#define STK_SMARTBEAT_SEQ 0x3000000 |
Sequence ID for smartbeats
#define STK_STCT_SVC_SMARTBEAT_WIRE 0x50000001 |
ID of structure for data coming off the wire
The Smartbeat checkpoint is atomically (lock-free) incremented so applications may use multiple threads to indicate liveness
It is a 64 bit unsigned integer
Control structure for smartbeat handling
typedef struct stk_smartbeat_svc_wire_stct stk_smartbeat_svc_wire_t |
Structure of smartbeat on the wire
typedef struct stk_smartbeat_stct stk_smartbeat_t |
The stk_smartbeat_t structure provides a time and checkpoint.