VIP inspection tooling #4

Merged
SonicSwordcane merged 34 commits from vram into main 2025-02-24 04:01:18 +00:00
1 changed files with 3 additions and 4 deletions
Showing only changes of commit 6142179e31 - Show all commits

View File

@ -238,11 +238,10 @@ impl MemoryRegion {
}
pub fn update(&self, data: &[u8]) {
let gens: Vec<u64> = self
let gens = self
.gens
.iter()
.map(|i| i.load(std::sync::atomic::Ordering::Acquire))
.collect();
.each_ref()
.map(|i| i.load(std::sync::atomic::Ordering::Acquire));
let next_gen = gens.iter().max().unwrap() + 1;
let indices = gens
.into_iter()