kern: refactor priority inheritance to represent locks as C++ objects

This commit is contained in:
Michael Scire authored and SciresM committed 2023-02-22 17:19:51 -08:00
1 parent 1279d236f3
commit 48f4c526f3
7 files changed
+271 -102

No files matched your search

@@ -243,7 +243,7 @@ namespace ams::kern {
if (AMS_LIKELY(!cur_thread->IsTerminationRequested()) && AMS_LIKELY(cur_thread->GetActiveCore() == m_core_id)) {
m_state.prev_thread = cur_thread;
} else {
m_state.prev_thread =nullptr;
m_state.prev_thread = nullptr;
}
}