Files
moli/moli-owner-queue/src/lib.rs
T
ldm0 c6d9395e03 perf(queue): compact owner-ready task storage
Replace each owner-ready source's general two-channel OwnerTaskSource plus separate readiness and signal allocations with one shared incoming queue/state and one owner-local accepted queue.\n\nPreserve close errors, route identity, FIFO batch admission, edge-triggered wakeups, and drop payloads outside the shared lock. The general OwnerTaskSource remains available for parser-boundary users that need its distinct semantics.
2026-08-31 20:51:55 +08:00

16 lines
591 B
Rust

//! Owner-lane queue primitives shared by renderer scheduling code.
//!
//! This crate keeps single-owner task arrival and wake tracking independent from
//! the V8 renderer so parser, document, and runtime scheduling can reuse the
//! same FIFO/wake behavior without depending on JS internals.
mod owner_ready_task_source;
mod owner_task_source;
mod owner_wake_queue;
pub use owner_ready_task_source::{
OwnerReadyTaskRoute, OwnerReadyTaskRouteClosed, OwnerReadyTaskSource, OwnerTaskReadySignal,
};
pub use owner_task_source::OwnerTaskSource;
pub use owner_wake_queue::OwnerWakeQueue;