Wake good pri threads immediately from timeouts.

This commit is contained in:
Unknown W. Brackets committed 2014-06-24 00:49:36 -07:00
1 parent 4626e63294
commit 412eee0bd9
1 file changed
+1
+1
View File
@@ -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");
}
}