diff options
author | lat9nq <lat9nq@gmail.com> | 2022-04-01 18:29:08 -0400 |
---|---|---|
committer | lat9nq <lat9nq@gmail.com> | 2022-04-03 21:47:57 -0400 |
commit | 83b86d915ab27be68c8428761c8510817991b5ff (patch) | |
tree | 06f9f10fb2d926f163aa0343780cc57c72d20c99 /src/core/hle/kernel/kernel.cpp | |
parent | e9cf2d43f1fb62dd06f9e8ef2e51cb43147ad808 (diff) |
k_scheduler_lock: Fix data race
TSan reports a race between the main thread and T37 during
IsLockedByCurrentThread and when it's set at the end of Lock(),
respectively. Set owner_thread to an atomic pointer to fix it.
Co-authored-by: bunnei <bunneidev@gmail.com>
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions