mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 19:45:46 +00:00
Kernel: Correct Results in Condition Variables and Mutexes
This commit is contained in:
parent
3c9e26a003
commit
598203b5cf
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