pub unsafe fn current_cpu_owner_handles() -> CurrentCpuOwnerHandlesExpand description
Captures the complete pinned scheduler capability for the calling CPU.
This is a CPU-owned capability, not a migration-stable task handle. The caller must retain an IRQ guard or scheduler-frame baton from before this query until every dereference of the returned object has completed.
§Safety
The returned identity, owner-only crate::runtime::cpu::CpuLocal handle and
Arc-backed crate::runtime::cpu::CpuRemote handle must all describe the same calling
CPU and remain live until shutdown. The local address must originate
from the allocation’s mutable owner capability, not from a shared
CpuLocal borrow. Before reconstructing a reference, the caller must
claim the returned remote endpoint’s owner gate and retain both that
claim and its CPU pin for the complete derived-borrow lifetime.