molframe_core/parallel/mod.rs
1//! Dividing work so that the answer does not depend on how many threads ran it.
2//!
3//! This crate owns the vocabulary and, behind the off-by-default `rayon`
4//! feature, the executor. It does not parallelise its own operations: nothing
5//! here runs a kernel, and nothing above the type layer decides a worker count.
6//! That decision belongs to the caller (NFR-113).
7
8mod consume;
9mod execute;
10mod ordered;
11mod plan;
12mod policy;
13
14pub use consume::{BlockExecutionError, try_for_each_block_in};
15pub(crate) use execute::SharedPool;
16pub use execute::{WorkerPanicked, map_blocks_in};
17pub use plan::{BlockPlan, DEFAULT_BLOCK_ITEMS};
18pub use policy::ReductionPolicy;