diff options
| author | 2020-08-26 01:45:51 +0000 | |
|---|---|---|
| committer | 2020-08-26 02:52:50 +0000 | |
| commit | 36eade7f4ccf5a7da8e9f5e7ec32d2e4f8660e85 (patch) | |
| tree | e1da56066795a232d4f23f4c33e0d758943dfaa8 /src/core/cpu_manager.cpp | |
| parent | Merge pull request #4572 from lioncash/xbyak (diff) | |
| download | yuzu-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/core/cpu_manager.cpp')
0 files changed, 0 insertions, 0 deletions