Implement basic timeouts for msg pipes.

This commit is contained in:
Unknown W. Brackets committed 2013-08-18 18:38:08 -07:00
1 parent 88b333bd16
commit b9a71640eb
4 files changed
+79 -5

No files matched your search

+1 -1
View File
@@ -1070,7 +1070,7 @@ void __KernelVplTimeout(u64 userdata, int cyclesLate)
if (vpl)
{
// This thread isn't waiting anymore, but we'll remove it from waitingThreads later.
// The reason is, if it times out, but what it was waiting on is DELETED prior to it
// The reason is, if it times out, but while it was waiting on is DELETED prior to it
// 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);