Type Alias Spinlock

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

A mutual exclusion primitive useful for protecting shared data

Aliased Type§

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