Searched refs:seqlock_ (Results 1 – 1 of 1) sorted by relevance
129 std::atomic_uint32_t seqlock_{1}; // Synchronization. Even value if entry is valid. member157 std::atomic_uint32_t seqlock_{0}; // Incremented before and after any modification. member261 DCHECK_EQ(descriptor.seqlock_.load(kNonRacingRelaxed) & 1, 0u) << "Already locked"; in Seqlock()262 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Seqlock()269 DCHECK_EQ(descriptor.seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Already unlocked"; in Sequnlock()272 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Sequnlock()279 CHECK_EQ(entry->seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Expected invalid entry"; in InsertNewEntry()285 writable->seqlock_.fetch_add(1, std::memory_order_release); // Mark as valid. in InsertNewEntry()393 CHECK_EQ(writable_entry->seqlock_.load(kNonRacingRelaxed) & 1, 0u) << "Expected valid entry"; in DeleteJITCodeEntryInternal()395 writable_entry->seqlock_.fetch_add(1, std::memory_order_release); // Mark as invalid. in DeleteJITCodeEntryInternal()