Skip to main content

euv_core/parallel/
enum.rs

1/// Initialization lifecycle state of the process-wide `EngineWorkerPool`.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
3pub enum EnginePoolState {
4    /// Background workers have not been initialized yet.
5    #[default]
6    Uninitialized,
7    /// Background workers are currently starting on an asynchronous initializer thread.
8    Spawning,
9    /// Background workers are warm and ready for lock-free work-stealing dispatch.
10    Ready,
11}