1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-24 03:06:17 +00:00

kern: allow non-inline KSchedulerLock::Lock

This commit is contained in:
Michael Scire 2020-12-01 17:36:14 -08:00 committed by SciresM
parent 152def19c0
commit 3d4ab95ab2

View file

@ -45,7 +45,7 @@ namespace ams::kern {
return this->owner_thread == GetCurrentThreadPointer();
}
ALWAYS_INLINE void Lock() {
void Lock() {
MESOSPHERE_ASSERT_THIS();
if (this->IsLockedByCurrentThread()) {