mirror of
https://github.com/lexmount/moli.git
synced 2026-10-05 16:00:54 +00:00
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.
16 lines
591 B
Rust
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;
|