[−][src]Struct kernel::spinlock::MutexGuard
A guard to which the protected data can be accessed
When the guard falls out of scope it will release the lock.
Fields
lock: &'a u32
mutex: &'a Mutex<T>
data: &'a mut T
intr_lock: IntrLockGuard<'a>
Implementations
impl<'a, T: ?Sized> MutexGuard<'a, T>
[src]
pub fn into_weak(self) -> WeakMutexGuard<'a, T>
[src]
Temporarily unlock Mutex by obtaining a weak guard