Skip to main content

Module handshake

Module handshake 

Source
Expand description

Per-instance handshake header: generation + in-flight refcounts.

The header is two cache lines wide to keep the read-mostly generation field from false-sharing with the write-hot in-flight counters.

Structsยง

HandshakeHeader
Layout invariant: 64-byte aligned, 128 bytes total (two cache lines).