/// Maximum total execution threads (caller plus background workers) managed by `EngineWorkerPool`.
pub const ENGINE_WORKER_MAX_THREADS: usize = 16;
/// Active adaptive spin-loop iterations executed by worker threads during animation, scrolling, or bulk layout.
pub const ENGINE_WORKER_SPIN_LIMIT_ACTIVE: u32 = 3_072;
/// Idle spin-loop iterations executed by worker threads when the frame loop is quiescent (`0` = immediate park).
pub const ENGINE_WORKER_SPIN_LIMIT_IDLE: u32 = 0;
/// Active spin-loop iterations executed by the calling thread waiting for worker completion.
pub const ENGINE_CALLER_SPIN_LIMIT_ACTIVE: u32 = 3_072;
/// Idle spin-loop iterations executed by the calling thread before parking on `wake_caller`.
pub const ENGINE_CALLER_SPIN_LIMIT_IDLE: u32 = 64;
/// Atomic lifecycle value indicating the process-wide `EngineWorkerPool` has not been requested.
pub const ENGINE_POOL_UNINITIALIZED: usize = 0;
/// Atomic lifecycle value indicating the process-wide `EngineWorkerPool` is initializing asynchronously.
pub const ENGINE_POOL_SPAWNING: usize = 1;
/// Atomic lifecycle value indicating the process-wide `EngineWorkerPool` is warm and ready for dispatch.
pub const ENGINE_POOL_READY: usize = 2;
/// Thread name prefix assigned to persistent engine worker pool threads.
pub const ENGINE_WORKER_THREAD_PREFIX: &str = "euv-worker";
/// Thread name assigned to the one-shot asynchronous pool initializer thread.
pub const ENGINE_POOL_INIT_THREAD_NAME: &str = "euv-worker-init";