pub struct CpuRuntimeAnchor { /* private fields */ }Expand description
CPU-local scalar state shared by trap entry and scheduler publication.
Implementations§
Source§impl CpuRuntimeAnchor
impl CpuRuntimeAnchor
Sourcepub fn current_thread_raw(&self) -> usize
pub fn current_thread_raw(&self) -> usize
Acquires the current-thread pointer published by the scheduler.
Auto Trait Implementations§
impl !Freeze for CpuRuntimeAnchor
impl RefUnwindSafe for CpuRuntimeAnchor
impl Send for CpuRuntimeAnchor
impl Sync for CpuRuntimeAnchor
impl Unpin for CpuRuntimeAnchor
impl UnsafeUnpin for CpuRuntimeAnchor
impl UnwindSafe for CpuRuntimeAnchor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more