Searched refs:num_contenders_ (Results 1 – 3 of 3) sorted by relevance
737 , state_(0), exclusive_owner_(0), num_contenders_(0) in ReaderWriterMutex()749 CHECK_EQ(num_contenders_.load(std::memory_order_relaxed), 0); in ~ReaderWriterMutex()776 num_contenders_.fetch_add(1); in ExclusiveLock()788 num_contenders_.fetch_sub(1); in ExclusiveLock()819 if (UNLIKELY(num_contenders_.load(std::memory_order_seq_cst) > 0)) { in ExclusiveUnlock()855 num_contenders_.fetch_add(1); in ExclusiveLockWithTimeout()861 num_contenders_.fetch_sub(1); in ExclusiveLockWithTimeout()871 num_contenders_.fetch_sub(1); in ExclusiveLockWithTimeout()899 num_contenders_.fetch_add(1); in HandleSharedLockContention()909 num_contenders_.fetch_sub(1); in HandleSharedLockContention()[all …]
212 if (num_contenders_.load(std::memory_order_seq_cst) > 0) { in SharedUnlock()
413 AtomicInteger num_contenders_; variable