mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-31 12:35:51 +00:00
A wait polling a regular-file event holds the equeue mutex and calls sceKernelLseek, which takes the descriptor's position lock on Windows. sceKernelClose and close took that lock first and then the equeue mutex in EqueueDescriptorClosed, so a close racing such a wait deadlocked. Both now remove the descriptor's events before taking the position lock, as dup2 already does. Co-Authored-By: Claude Opus 5.5 <[email protected]>