aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_cache.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-08-26 01:45:51 +0000
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-08-26 02:52:50 +0000
commit6bf10ea8cf106fc3f18087c7223260792def1fe2 (patch)
treee1da56066795a232d4f23f4c33e0d758943dfaa8 /src/video_core/buffer_cache/buffer_cache.h
parentce74cce2eae9a1f664ab582a98b82841e0ca9467 (diff)
hle/kernel: Fix data race in GetCurrentHostThreadID
As reported by tsan, host_thread_ids could be read while any of the RegisterHostThread variants were called. To fix this, lock the register mutex when yuzu is running in multicore mode and GetCurrentHostThreadID is called.
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.h')
0 files changed, 0 insertions, 0 deletions