pub unsafe fn current_cpu_remote_handle() -> CpuRemoteHandleExpand description
Returns the Arc-backed crate::runtime::cpu::CpuRemote endpoint for the calling CPU.
This is the scheduler-adjacent current-CPU fast path. Unlike
[Self::cpu_remote_handle], it must not derive a CPU identifier and
resolve that identifier through the global task-system registry.
§Safety
The caller must prevent migration until it has finished every read
through the returned endpoint. A non-NONE result must identify the
calling CPU’s Arc-backed crate::runtime::cpu::CpuRemote and remain live until
shutdown. It must not identify a crate::runtime::cpu::CpuLocal or any other
allocation.