Skip to main content

chronon::sender::detail::PortEnvelope

More...

#include <Port.hpp>

Public Attributes

Name
uint32_tsender_id
uint64_tepoch_snapshot
uint64_tenqueue_cycle
Tdata
const std::atomic< uint64_t > *cancel_epoch
nullptr => not cancelable

Detailed Description

template <typename T >
struct chronon::sender::detail::PortEnvelope;

Public Attributes Documentation

variable sender_id

uint32_t sender_id = 0;

Stable producer tiebreaker for topology-keyed multi-producer queues. Connection::conn_id is deterministic for a fixed topology, so same-cycle fan-in does not depend on runtime thread placement.

variable epoch_snapshot

uint64_t epoch_snapshot = 0;

variable enqueue_cycle

uint64_t enqueue_cycle = 0;

Producer's localCycle at push time (arrive_cycle - delay). Used by receiver-owned predicates to decide whether a message was in flight at the start of a flush. The sender never reads receiver flush state.

variable data

T data;

variable cancel_epoch

const std::atomic< uint64_t > * cancel_epoch = nullptr;

nullptr => not cancelable


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