• Home
  • Raw
  • Download

Lines Matching refs:Mutex

131 class ABSL_LOCKABLE Mutex {
139 Mutex();
152 explicit constexpr Mutex(absl::ConstInitType);
154 ~Mutex();
460 static void IncrementSynchSem(Mutex *mu, base_internal::PerThreadSynch *w);
461 static bool DecrementSynchSem(Mutex *mu, base_internal::PerThreadSynch *w,
490 Mutex(const volatile Mutex * /*ignored*/) {} // NOLINT(runtime/explicit) in Mutex() function
492 Mutex(const Mutex&) = delete;
493 Mutex& operator=(const Mutex&) = delete;
525 explicit MutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) { in MutexLock()
532 explicit MutexLock(Mutex *mu, const Condition &cond) in MutexLock()
546 Mutex *const mu_;
555 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock()
559 explicit ReaderMutexLock(Mutex *mu, const Condition &cond) in ReaderMutexLock()
573 Mutex *const mu_;
582 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock()
587 explicit WriterMutexLock(Mutex *mu, const Condition &cond) in WriterMutexLock()
601 Mutex *const mu_;
805 void Wait(Mutex *mu);
820 bool WaitWithTimeout(Mutex *mu, absl::Duration timeout);
837 bool WaitWithDeadline(Mutex *mu, absl::Time deadline);
857 bool WaitCommon(Mutex *mutex, synchronization_internal::KernelTimeout t);
876 explicit MutexLockMaybe(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in MutexLockMaybe()
883 explicit MutexLockMaybe(Mutex *mu, const Condition &cond) in MutexLockMaybe()
896 Mutex *const mu_;
909 explicit ReleasableMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in ReleasableMutexLock()
914 explicit ReleasableMutexLock(Mutex *mu, const Condition &cond) in ReleasableMutexLock()
927 Mutex *mu_;
934 inline Mutex::Mutex() : mu_(0) { in Mutex() function
938 inline constexpr Mutex::Mutex(absl::ConstInitType) : mu_(0) {} in Mutex() function