Expand description
Raw task infrastructure for the scheduler 调度器的原始任务基础设施
Uses vtable dispatch for type-erased task execution with manual reference counting (no Arc — avoids Arc/Box layout mismatch).
使用vtable分发进行类型擦除的任务执行,配合手动引用计数 (不使用Arc — 避免Arc/Box布局不匹配)。
Functions§
- deallocate_
completed_ ⚠task - Deallocate a completed task (consumes the queue slot ref).
- poll_
raw_ ⚠task - Poll a raw task. Returns true if completed.