Add PrepareReschedule where required.
This commit is contained in:
parent
b8b7ebcece
commit
b5d1e44782
3 changed files with 18 additions and 16 deletions
|
@ -140,6 +140,8 @@ ResultCode Mutex::Release(VAddr address) {
|
|||
thread->SetMutexWaitAddress(0);
|
||||
thread->SetWaitHandle(0);
|
||||
|
||||
Core::System::GetInstance().PrepareReschedule();
|
||||
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
} // namespace Kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue