mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 03:35:19 +02:00
Nothing needs it any more. Every handler either does its emulator-state access inside Core_RunOnCPUThread(), which serializes it against startup and shutdown because those run on the CPU thread too, or only touches state that carries its own lock - the log ring buffer, ctrlMutex, GPUStepping's rendezvous. Good riddance: it had to be held across an entire handler, including the blocking wait inside Core_RunOnCPUThread(), so the CPU thread taking it on STOPPING deadlocked against a debugger request in flight. That needed a drain-while-waiting workaround, which now goes away with it. Verified with the instrumented shutdown repro from that fix, which still exits cleanly with no lock at all. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GZq8ZtJmFY7bkX5FVkr3P9