mirror of https://git.suyu.dev/suyu/suyu
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.merge-requests/60/head
parent
4efaecf125
commit
36eade7f4c
Loading…
Reference in New Issue