mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
The mutex yield step counts each yield in a counter that MutexYieldsForTest_nid_no_patch reads. With no spins and a yield count of 5, a waiter woken while another thread holds its mutex must yield exactly 5 times before it blocks, for each mutex type and for the outer level of a recursive mutex held twice. With WakingLock::lock calling the native lock directly the count stays 0 and the test aborts. Co-Authored-By: Claude Opus 5.5 <[email protected]>