mirror of https://github.com/yuzu-mirror/yuzu
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.pull/8/head
parent
4efaecf125
commit
36eade7f4c
Loading…
Reference in New Issue