Lines Matching refs:Mutex
139 class ABSL_LOCKABLE Mutex {
147 Mutex();
160 explicit constexpr Mutex(absl::ConstInitType);
162 ~Mutex();
478 static inline void IncrementSynchSem(Mutex *mu,
481 Mutex *mu, base_internal::PerThreadSynch *w,
511 Mutex(const volatile Mutex * /*ignored*/) {} // NOLINT(runtime/explicit) in Mutex() function
513 Mutex(const Mutex&) = delete;
514 Mutex& operator=(const Mutex&) = delete;
541 explicit MutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) { in MutexLock()
553 Mutex *const mu_;
562 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock()
574 Mutex *const mu_;
583 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock()
596 Mutex *const mu_;
783 void Wait(Mutex *mu);
798 bool WaitWithTimeout(Mutex *mu, absl::Duration timeout);
815 bool WaitWithDeadline(Mutex *mu, absl::Time deadline);
841 bool WaitCommon(Mutex *mutex, synchronization_internal::KernelTimeout t);
861 explicit MutexLockMaybe(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in MutexLockMaybe()
872 Mutex *const mu_;
885 explicit ReleasableMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in ReleasableMutexLock()
896 Mutex *mu_;
904 inline constexpr Mutex::Mutex(absl::ConstInitType) : impl_(absl::kConstInit) {} in Mutex() function
907 inline Mutex::Mutex() : mu_(0) { in Mutex() function
911 inline constexpr Mutex::Mutex(absl::ConstInitType) : mu_(0) {} in Mutex() function