mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-14 11:13:07 +01:00
Kernel/IPC: Add a small delay after each SyncRequest to prevent thread starvation.
Ported from citra PR #3091 The delay specified here is from a Nintendo 3DS, and should be measured in a Nintendo Switch. This change is enough to prevent Puyo Puyo Tetris's main thread starvation.
This commit is contained in:
1 parent
29c977dbd1
commit
fbb0ef851c
4 files changed
+62
-49
No files matched your search
@@ -284,6 +284,7 @@ void Thread::ResumeFromWait() {
|
||||
case THREADSTATUS_WAIT_SYNCH_ANY:
|
||||
case THREADSTATUS_WAIT_ARB:
|
||||
case THREADSTATUS_WAIT_SLEEP:
|
||||
case THREADSTATUS_WAIT_IPC:
|
||||
break;
|
||||
|
||||
case THREADSTATUS_READY:
|
||||
|
||||
Reference in new issue
Block a user