Skip to main content

Module payload

Module payload 

Source
Expand description

RtPayload — the Send-able value subset that crosses task (and OS-thread) boundaries via channels.

The interpreter and VM heaps are Rc-based (!Send). A value moved through a channel is materialized into this owned, allocation-self-contained form on the sending side and rebuilt into the receiver’s heap on the other side. The marshalling between RuntimeValue / the VM Value and RtPayload lives in logicaffeine-compile (which knows those representations); this crate only defines the wire shape and guarantees it is Send, which is what makes the M:N work-stealing driver sound.

Enums§

RtPayload
A self-contained, Send value that can move between tasks and threads.