Searched defs:MutexGuard (Results 1 – 2 of 2) sorted by relevance
20 pub(crate) struct MutexGuard<'a, T: ?Sized> { struct21 lock: &'a AtomicBool,22 data: &'a mut T,100 impl<'a, T: ?Sized> Deref for MutexGuard<'a, T> { implementation107 impl<'a, T: ?Sized> DerefMut for MutexGuard<'a, T> { implementation113 impl<'a, T: ?Sized> Drop for MutexGuard<'a, T> { implementation
32 MutexGuard(sys::Mutex &m) : M(m) { M.lock(); } in MutexGuard() function