Module lane_graph

Module lane_graph 

Source
Expand description

LaneGraph-oriented executor APIs.

Structs§

LaneGraphRoleActivitySnapshot
Activity snapshot for a single LaneGraph role thread.
LaneGraphSpRuntime
Handle for a spawned LaneGraph SP runtime.
SpShmOptions
SHM attach options for the LaneGraph SP runtime.

Functions§

run_lane_graph_mp_role_shm
Run exactly one LaneGraph role in the current process using SHM-backed lanes.
run_sp
Start an SP runtime for a LaneGraph spec (SHM-backed, thread-per-role).
spawn_lane_graph_sp_shm_runtime
Spawn a SHM-backed LaneGraph SP runtime (thread-per-role).
spawn_lane_graph_sp_shm_runtime_with_thread_init
Spawn a SHM-backed LaneGraph SP runtime (thread-per-role), invoking thread_init at the start of each role thread (before entering hot loops).
validate_sp
Validate an SP spec.