pub struct ProducerLine {
pub issued: AtomicU64,
pub watermark: AtomicU64,
/* private fields */
}Expand description
Per-producer ordering state. One cache line per producer slot so one producer’s stamp bookkeeping never invalidates a sibling’s L1 line.
Fields§
§issued: AtomicU64Last ISSUED stamp (monotonicity floor: the next stamp is
max(source_now, issued + 1)).
watermark: AtomicU64Last PUBLISHED stamp (the MergeStrict watermark). Release-
stored after the ring push; 0 = this producer slot has never
published or refreshed.
Auto Trait Implementations§
impl !Freeze for ProducerLine
impl RefUnwindSafe for ProducerLine
impl Send for ProducerLine
impl Sync for ProducerLine
impl Unpin for ProducerLine
impl UnsafeUnpin for ProducerLine
impl UnwindSafe for ProducerLine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more