Add PrepareReschedule where required.

This commit is contained in:
Fernando Sahmkow 2019-03-29 17:13:00 -04:00 committed by FernandoS27
parent b8b7ebcece
commit b5d1e44782
3 changed files with 18 additions and 16 deletions

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