Macro kernel::rawspinlock_init
source · [−]macro_rules! rawspinlock_init {
($spinlock:expr, $name:literal) => { ... };
}
Expand description
Safely initialises a RawSpinLock
with the given name, generating a new lock class.
macro_rules! rawspinlock_init {
($spinlock:expr, $name:literal) => { ... };
}
Safely initialises a RawSpinLock
with the given name, generating a new lock class.