Struct CoprocLaunchDesc¶
Defined in File Transport.hpp
Struct Documentation¶
-
struct CoprocLaunchDesc¶
Data description for a persistent engine to receive and consume request messages, then autonomously write a reply frame per request into the handoff ring, which the session reads.
Both rings hold
ring_slotsframes,slot_stridebytes apart, in the frame layoutframe_modenames (the CATALYST_TRANSPORT_FRAME_* bit index: 0 for the 16 B frame, 1 for BLV; see doc/dev/backline.rst). Message n arrives in request slot n mod ring_slots, complete once its polled word holds n + 1, and the engine answers it with a frame in the same slot of the handoff ring: the reply’s payload, the request’s fn_id and, written last, n + 1. A launcher built for this layout reports CATALYST_COPROCESSOR_LAUNCHER_MIN_ABI_VERSION in its_info, and returns nonzero for aframe_modeor message size its engine cannot handle.The session owns the buffers and keeps it valid until the engine has stopped (set
*stopnonzero, then synchronize) or has processedtotalmessages.