Searched refs:seqlock_ (Results 1 – 1 of 1) sorted by relevance
121 std::atomic_uint32_t seqlock_{1}; // Synchronization. Even value if entry is valid. member149 std::atomic_uint32_t seqlock_{0}; // Incremented before and after any modification. member241 DCHECK_EQ(descriptor.seqlock_.load(kNonRacingRelaxed) & 1, 0u) << "Already locked"; in Seqlock()242 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Seqlock()249 DCHECK_EQ(descriptor.seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Already unlocked"; in Sequnlock()252 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Sequnlock()259 CHECK_EQ(entry->seqlock_.load(kNonRacingRelaxed) & 1, 1u) << "Expected invalid entry"; in InsertNewEntry()265 writable->seqlock_.fetch_add(1, std::memory_order_release); // Mark as valid. in InsertNewEntry()373 CHECK_EQ(writable_entry->seqlock_.load(kNonRacingRelaxed) & 1, 0u) << "Expected valid entry"; in DeleteJITCodeEntryInternal()375 writable_entry->seqlock_.fetch_add(1, std::memory_order_release); // Mark as invalid. in DeleteJITCodeEntryInternal()