mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-05 14:45:07 +01:00
Use a SpinLock for guest shader code cache trap mutex
This commit is contained in:
parent
3e12cde4d5
commit
5542459c75
@ -87,7 +87,7 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
||||
engine::Pipeline::Shader::Type shaderType;
|
||||
|
||||
tsl::robin_map<u8 *, std::unique_ptr<MirrorEntry>> mirrorMap;
|
||||
std::mutex trapMutex; //!< Protects accesses from trap handlers to the mirror map
|
||||
SpinLock trapMutex; //!< Protects accesses from trap handlers to the mirror map
|
||||
MirrorEntry *entry{};
|
||||
span<u8> mirrorBlock{}; //!< Guest mapped memory block corresponding to `entry`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user