Lines Matching refs:Mutex
139 class ABSL_LOCKABLE Mutex {
147 Mutex();
160 explicit constexpr Mutex(absl::ConstInitType);
162 ~Mutex();
477 static inline void IncrementSynchSem(Mutex *mu,
480 Mutex *mu, base_internal::PerThreadSynch *w,
510 Mutex(const volatile Mutex * /*ignored*/) {} // NOLINT(runtime/explicit) in Mutex() function
512 Mutex(const Mutex&) = delete;
513 Mutex& operator=(const Mutex&) = delete;
540 explicit MutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) { in MutexLock()
552 Mutex *const mu_;
561 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock()
573 Mutex *const mu_;
582 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock()
595 Mutex *const mu_;
789 void Wait(Mutex *mu);
804 bool WaitWithTimeout(Mutex *mu, absl::Duration timeout);
821 bool WaitWithDeadline(Mutex *mu, absl::Time deadline);
847 bool WaitCommon(Mutex *mutex, synchronization_internal::KernelTimeout t);
867 explicit MutexLockMaybe(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in MutexLockMaybe()
878 Mutex *const mu_;
891 explicit ReleasableMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in ReleasableMutexLock()
902 Mutex *mu_;
911 inline constexpr Mutex::Mutex(absl::ConstInitType) : impl_(absl::kConstInit) {} in Mutex() function
915 inline Mutex::Mutex() : mu_(0) { in Mutex() function
919 inline constexpr Mutex::Mutex(absl::ConstInitType) : mu_(0) {} in Mutex() function