mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-24 03:06:17 +00:00
kern: fix bug in KConditionVariable::SignalImpl
This commit is contained in:
parent
14d458522d
commit
1be74ea6e2
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ namespace ams::kern {
|
||||||
|
|
||||||
can_access = cpu::CanAccessAtomic(address);
|
can_access = cpu::CanAccessAtomic(address);
|
||||||
if (AMS_LIKELY(can_access)) {
|
if (AMS_LIKELY(can_access)) {
|
||||||
UpdateLockAtomic(std::addressof(prev_tag), address, own_tag, ams::svc::HandleWaitMask);
|
can_access = UpdateLockAtomic(std::addressof(prev_tag), address, own_tag, ams::svc::HandleWaitMask);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue