Add PrepareReschedule where required.

This commit is contained in:
Fernando Sahmkow
2019-10-15 11:55:10 -04:00
committed by FernandoS27
parent b8b7ebcece
commit b5d1e44782
3 changed files with 18 additions and 16 deletions
+2
View File
@@ -140,6 +140,8 @@ ResultCode Mutex::Release(VAddr address) {
thread->SetMutexWaitAddress(0);
thread->SetWaitHandle(0);
Core::System::GetInstance().PrepareReschedule();
return RESULT_SUCCESS;
}
} // namespace Kernel