pub type SpinMutex<T> = BasicSpinMutex<T, true>;Expand description
A type alias for the most commonly used spin mutex configuration.
This is equivalent to BasicSpinMutex<T, true>, which enables CPU-specific
pause instructions for efficient busy-waiting.
§Examples
use fork_union::*;
let mutex = SpinMutex::new(42);
let mut guard = mutex.lock();
*guard = 100;Aliased Type§
pub struct SpinMutex<T> { /* private fields */ }