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 | 039ce144429b86a003dcbb05123dadd6e8972403 (patch) | |
| tree | 06f9f10fb2d926f163aa0343780cc57c72d20c99 /src/core/hle/kernel/k_thread.cpp | |
| parent | a7f7fb72d6d430407ce9adb43dde97735a039a4e (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/k_thread.cpp')
0 files changed, 0 insertions, 0 deletions
