Skip to main content

Spinlock

Type Alias Spinlock 

Source
pub type Spinlock<T: ?Sized> = Mutex<RawSpinlock, T>;
Available on crate feature full and non-crate feature use_std only.
Expand description

A mutual exclusion primitive useful for protecting shared data

Aliased Typeยง

pub struct Spinlock<T: ?Sized> { /* private fields */ }