summaryrefslogtreecommitdiff
path: root/src/input_common/settings.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-08-26 01:45:51 +0000
committerGravatar ReinUsesLisp2020-08-26 02:52:50 +0000
commit36eade7f4ccf5a7da8e9f5e7ec32d2e4f8660e85 (patch)
treee1da56066795a232d4f23f4c33e0d758943dfaa8 /src/input_common/settings.cpp
parentMerge pull request #4572 from lioncash/xbyak (diff)
downloadyuzu-36eade7f4ccf5a7da8e9f5e7ec32d2e4f8660e85.tar.gz
yuzu-36eade7f4ccf5a7da8e9f5e7ec32d2e4f8660e85.tar.xz
yuzu-36eade7f4ccf5a7da8e9f5e7ec32d2e4f8660e85.zip
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/input_common/settings.cpp')
0 files changed, 0 insertions, 0 deletions