Searched refs:num_contenders_ (Results 1 – 3 of 3) sorted by relevance
659 , state_(0), exclusive_owner_(0), num_contenders_(0) in ReaderWriterMutex()671 CHECK_EQ(num_contenders_.load(std::memory_order_relaxed), 0); in ~ReaderWriterMutex()698 num_contenders_.fetch_add(1); in ExclusiveLock()710 num_contenders_.fetch_sub(1); in ExclusiveLock()741 if (UNLIKELY(num_contenders_.load(std::memory_order_seq_cst) > 0)) { in ExclusiveUnlock()777 num_contenders_.fetch_add(1); in ExclusiveLockWithTimeout()783 num_contenders_.fetch_sub(1); in ExclusiveLockWithTimeout()793 num_contenders_.fetch_sub(1); in ExclusiveLockWithTimeout()821 num_contenders_.fetch_add(1); in HandleSharedLockContention()831 num_contenders_.fetch_sub(1); in HandleSharedLockContention()[all …]
212 if (num_contenders_.load(std::memory_order_seq_cst) > 0) { in SharedUnlock()
397 AtomicInteger num_contenders_; variable