mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-22 11:32:38 +02:00
kern: fix bug in KConditionVariable::SignalImpl
This commit is contained in:
parent
525254b32b
commit
d32d5bef8c
@ -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 New Issue
Block a user