Skip to main content

chronon::sender::detail::TickContext

More...

#include <CrashHandler.hpp>

Public Attributes

Name
const char *unit_name
points to Unit's fixed, lifetime-stable crash buffer
TickableUnit *unit
const char *phase
points to a string literal in .rodata
uint64_tcycle

Detailed Description

struct chronon::sender::detail::TickContext;

Thread-local state tracking which unit is currently ticking.

Set before each tick(), cleared after. Read by signal/exception handlers to report which unit crashed.

Public Attributes Documentation

variable unit_name

const char * unit_name = nullptr;

points to Unit's fixed, lifetime-stable crash buffer

variable unit

TickableUnit * unit = nullptr;

variable phase

const char * phase = nullptr;

points to a string literal in .rodata

variable cycle

uint64_t cycle = 0;

Updated on 2026-07-23 at 16:24:33 +0000