video_core: lock interval map update

This commit is contained in:
Liam
2023-12-14 21:41:28 -05:00
parent 030e6b3980
commit 2a3f84aaf2
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#pragma once
#include <mutex>
#include <boost/icl/interval_map.hpp>
#include "common/common_types.h"
@ -30,6 +31,7 @@ private:
using IntervalType = IntervalMap::interval_type;
IntervalMap map;
std::mutex map_lock;
Core::Memory::Memory& cpu_memory;
};