euv-core 0.53.0

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
/// 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.
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE_CALLER_SPIN_LIMIT_ACTIVE: u32 = 3_072;

/// Idle spin-loop iterations executed by the calling thread before parking on `wake_caller`.
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE_CALLER_SPIN_LIMIT_IDLE: u32 = 64;

/// Atomic lifecycle value indicating the process-wide `EngineWorkerPool` has not been requested.
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE_POOL_UNINITIALIZED: usize = 0;

/// Atomic lifecycle value indicating the process-wide `EngineWorkerPool` is initializing asynchronously.
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE_POOL_SPAWNING: usize = 1;

/// Atomic lifecycle value indicating the process-wide `EngineWorkerPool` is warm and ready for dispatch.
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE_POOL_READY: usize = 2;

/// Thread name prefix assigned to persistent engine worker pool threads.
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE_WORKER_THREAD_PREFIX: &str = "euv-worker";

/// Thread name assigned to the one-shot asynchronous pool initializer thread.
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ENGINE_POOL_INIT_THREAD_NAME: &str = "euv-worker-init";