mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-29 06:22:39 +02:00
kern: allow non-inline KSchedulerLock::Lock
This commit is contained in:
parent
a911d2da7e
commit
ca24d0ed9f
@ -45,7 +45,7 @@ namespace ams::kern {
|
|||||||
return this->owner_thread == GetCurrentThreadPointer();
|
return this->owner_thread == GetCurrentThreadPointer();
|
||||||
}
|
}
|
||||||
|
|
||||||
ALWAYS_INLINE void Lock() {
|
void Lock() {
|
||||||
MESOSPHERE_ASSERT_THIS();
|
MESOSPHERE_ASSERT_THIS();
|
||||||
|
|
||||||
if (this->IsLockedByCurrentThread()) {
|
if (this->IsLockedByCurrentThread()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user