mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Wake good pri threads immediately from timeouts.
This commit is contained in:
1 parent
4626e63294
commit
412eee0bd9
1 file changed
+1
@@ -42,6 +42,7 @@ inline void WaitExecTimeout(SceUID threadID) {
|
||||
// actually running, it will get a DELETE result instead of a TIMEOUT.
|
||||
// So, we need to remember it or we won't be able to mark it DELETE instead later.
|
||||
__KernelResumeThreadFromWait(threadID, SCE_KERNEL_ERROR_WAIT_TIMEOUT);
|
||||
__KernelReSchedule("wait timed out");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user