Searched refs:seqlock_ (Results 1 – 1 of 1) sorted by relevance
132 std::atomic_uint32_t seqlock_{1}; // Synchronization. Even value if entry is valid. member160 std::atomic_uint32_t seqlock_{0}; // Incremented before and after any modification. member267 DCHECK_EQ(descriptor.seqlock_.load(kNonRacingRelaxed) & 1, 0u) << "Already locked"; in Seqlock()268 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Seqlock()275 DCHECK_EQ(descriptor.seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Already unlocked"; in Sequnlock()278 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Sequnlock()285 CHECK_EQ(entry->seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Expected invalid entry"; in InsertNewEntry()291 writable->seqlock_.fetch_add(1, std::memory_order_release); // Mark as valid. in InsertNewEntry()399 CHECK_EQ(writable_entry->seqlock_.load(kNonRacingRelaxed) & 1, 0u) << "Expected valid entry"; in DeleteJITCodeEntryInternal()401 writable_entry->seqlock_.fetch_add(1, std::memory_order_release); // Mark as invalid. in DeleteJITCodeEntryInternal()