mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-08 13:11:49 +00:00
kern: allow non-inline KSchedulerLock::Lock
This commit is contained in:
parent
152def19c0
commit
3d4ab95ab2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue