Expand description
Executors (SP + SingleRing) and loop control.
This crate runs threads/loops. It must remain free of product policy.
Re-exports§
pub use lane_graph::validate_sp;pub use lane_graph::run_lane_graph_mp_role_shm;pub use lane_graph::run_sp;pub use lane_graph::spawn_lane_graph_sp_shm_runtime;pub use lane_graph::spawn_lane_graph_sp_shm_runtime_with_thread_init;pub use lane_graph::LaneGraphRoleActivitySnapshot;pub use lane_graph::LaneGraphSpRuntime;pub use lane_graph::SpShmOptions;pub use single_ring::run_single_ring_shm;pub use single_ring::run_single_ring_shm_per_key_sharded_with_wait;pub use single_ring::run_single_ring_shm_per_key_sharded_with_wait_and_resolver;pub use single_ring::run_single_ring_shm_per_key_sharded_with_wait_and_resolver_and_prefault;pub use single_ring::run_single_ring_shm_per_key_sharded_with_wait_and_resolver_and_thread_init;pub use single_ring::run_single_ring_shm_per_key_sharded_with_wait_and_resolver_and_thread_init_and_prefault;pub use single_ring::run_single_ring_shm_record_with_wait_and_resolver_and_thread_init;pub use single_ring::run_single_ring_shm_with_wait;pub use single_ring::run_single_ring_shm_with_wait_and_resolver;pub use single_ring::run_single_ring_shm_with_wait_and_resolver_and_prefault;pub use single_ring::run_single_ring_shm_with_wait_and_resolver_and_thread_init;pub use single_ring::run_single_ring_shm_with_wait_and_resolver_and_thread_init_and_prefault;pub use single_ring::spawn_single_ring_shm_runtime;pub use single_ring::spawn_single_ring_shm_runtime_with_wait;pub use single_ring::spawn_single_ring_shm_runtime_with_wait_and_resolver;pub use single_ring::spawn_single_ring_shm_runtime_with_wait_and_resolver_and_prefault;pub use single_ring::spawn_single_ring_shm_runtime_with_wait_and_resolver_and_thread_init;pub use single_ring::spawn_single_ring_shm_runtime_with_wait_and_resolver_and_thread_init_and_prefault;pub use single_ring::SingleRingSpRuntime;pub use single_ring::WaitPreset;
Modules§
- lane_
graph - LaneGraph-oriented executor APIs.
- single_
ring - SingleRing-oriented executor APIs.
Structs§
- Exec
Error - Executor errors.
- Slice
Stage Registry - A minimal slice-based stage registry.
- Stage
Entry - One named stage entry for use with
SliceStageRegistry. - Thread
Init Context - Context passed to the thread init hook.
Enums§
- Resolved
Stage - Resolved stage callable.
- Role
Kind - Role kind for thread init context.
Traits§
- Stage
Resolver - Stage resolver used by executors.
- Stateful
Stage - Stateful stage implementation.
- Stateful
Transform Stage - Stateful transform stage implementation.
Functions§
- resolve_
or_ err - Resolve a stage by name or return an executor error.
Type Aliases§
- Resolved
Stage Factory - Factory function for producing a
ResolvedStage. - Stage
Error - Cold-path stage error type.
- Stateful
Stage Box - Convenience alias for the boxed stateful stage type.
- Stateful
Transform Stage Box - Convenience alias for the boxed stateful transform stage type.
- Thread
Init Hook - Hook invoked at the start of an executor thread.