Lines Matching refs:MutexGuard
8 use crate::mutex::MutexGuard;
259 pub fn wait<T: ?Sized>(&self, mutex_guard: &mut MutexGuard<'_, T>) { in wait()
260 self.wait_until_internal(unsafe { MutexGuard::mutex(mutex_guard).raw() }, None); in wait()
289 mutex_guard: &mut MutexGuard<'_, T>, in wait_until()
293 unsafe { MutexGuard::mutex(mutex_guard).raw() }, in wait_until()
393 mutex_guard: &mut MutexGuard<'_, T>, in wait_for()
397 self.wait_until_internal(unsafe { MutexGuard::mutex(mutex_guard).raw() }, deadline) in wait_for()
416 use crate::{Condvar, Mutex, MutexGuard};
665 MutexGuard::bump(&mut g); in test_condvar_requeue()
705 use crate::{Condvar, Mutex, MutexGuard};
736 lock: &mut MutexGuard<'_, T>, in wait()
737 predicate: impl Fn(&mut MutexGuard<'_, T>) -> bool, in wait()