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