mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-29 12:15:39 +00:00
The reader held the pipe for a fixed 100 ms after the main thread flagged the raise, so a main thread descheduled before sceKernelRaiseException let the write finish first and the test passed without the system-call path. The reader now waits until the writer is suspended (NtQueryInformationThread ThreadSuspendCount), which only the raise does while the write is blocked, then holds 100 ms. The handler checked that the write had returned through a flag the writer sets after fwrite, so a correct delivery between the two failed. It now checks that the interrupted rip lies in the test's own image. Two more registrations run the same test with a 200 ms pause before the raise and with a guest-code spin between fwrite and the flag. Co-Authored-By: Claude Opus 5.5 <[email protected]>