#[repr(C)]pub struct k_spinlock {}
Expand description
@brief Kernel Spin Lock
This struct defines a spin lock record on which CPUs can wait with k_spin_lock(). Any number of spinlocks may be defined in application code.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for k_spinlock
impl RefUnwindSafe for k_spinlock
impl Send for k_spinlock
impl Sync for k_spinlock
impl Unpin for k_spinlock
impl UnwindSafe for k_spinlock
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