mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
Properly wake semaphores in priority order.
This commit is contained in:
1 parent
4c510b5649
commit
4a56873541
3 files changed
+14
-31
No files matched your search
@@ -1793,6 +1793,11 @@ u32 __KernelGetThreadPrio(SceUID id)
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool __KernelThreadSortPriority(SceUID thread1, SceUID thread2)
|
||||
{
|
||||
return __KernelGetThreadPrio(thread1) < __KernelGetThreadPrio(thread2);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// WAIT/SLEEP ETC
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user