Dtact: A non-preemptive, stackful coroutine runtime featuring a lock-free context arena, P2P mesh scheduling, and architecture-specific assembly switchers. Designed for hardware-level control and non-blocking heterogeneous orchestration.
/// Topology Strategy for the scheduler and fibers.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]pubenumTopologyMode{/// Peer-to-Peer Mesh: Tasks are deflected to neighbors based on load.
P2PMesh,/// Global: Tasks are shared across all cores via a common pool (unsupported in V3).
Global,}/// Metadata: Workload Hint for scheduling decisions.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]pubenumWorkloadKind{/// Latency-sensitive compute tasks.
Compute,/// Throughput-oriented I/O tasks.
IO,/// Memory-intensive scanning or bulk transfers.
Memory,/// Background maintenance or telemetry tasks.
System,}