mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2025-02-02 05:29:56 +01:00
36eade7f4c
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.