Kernel: Correct Results in Condition Variables and Mutexes
This commit is contained in:
parent
1ec1e81373
commit
44e09e5f21
3 changed files with 17 additions and 24 deletions
|
@ -139,6 +139,7 @@ ResultCode Mutex::Release(VAddr address) {
|
|||
thread->SetCondVarWaitAddress(0);
|
||||
thread->SetMutexWaitAddress(0);
|
||||
thread->SetWaitHandle(0);
|
||||
thread->SetWaitSynchronizationResult(RESULT_SUCCESS);
|
||||
|
||||
system.PrepareReschedule();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue