mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 23:33:41 +01:00
Implement basic timeouts for msg pipes.
This commit is contained in:
1 parent
88b333bd16
commit
b9a71640eb
4 files changed
+79
-5
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user