mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-09 21:51:45 +00:00
kern: non-loop cas-weak -> cas-strong
This commit is contained in:
parent
717265a54c
commit
f77a4fbf98
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ namespace ams::kern {
|
|||
|
||||
/* Atomically clear the previous thread if it's our target. */
|
||||
KThread *compare = thread;
|
||||
prev_thread.compare_exchange_weak(compare, nullptr);
|
||||
prev_thread.compare_exchange_strong(compare, nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue