chronon::sender::detail::TickContext
#include <CrashHandler.hpp>
Public Attributes
| Name | |
|---|---|
| char[64] | unit_name copied into TLS via memcpy (heap-independent) |
| TickableUnit * | unit |
| const char * | phase points to a string literal in .rodata |
| uint64_t | cycle |
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
char[64] unit_name = {};
copied into TLS via memcpy (heap-independent)
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-05-26 at 05:42:32 +0000