mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
LwMutex: Take the lock after a callback if it was released during it
The end callback checked the kernel object's lockThread, which for an lwmutex is only refreshed by sceKernelReferLwMutexStatus. The lock state lives in the workarea, so an unlock during the callback left the waiter waiting forever. Verified against pspautotests threads/lwmutex/callbacks. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
eda92c4ef2
commit
c11e46aeea
3 files changed
+4
-2